1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-23 09:05:39 +01:00

Added each and for loops

This commit is contained in:
Andrea Dejan Grande 2019-04-28 04:01:57 +02:00
parent c5a968e11a
commit d64254f33d
2 changed files with 8 additions and 0 deletions

View File

@ -15,6 +15,10 @@ icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
# Conditionals
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
# For loops
icolor magenta "^\s*-\s(for)"
# Each
icolor magenta "^\s*(each)$" "^\s*(each)\s"
# Parenthesis content
color blue start="\(" end="\)"
# Strings

View File

@ -15,6 +15,10 @@ icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
# Conditionals
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
# For loops
icolor magenta "^\s*-\s(for)"
# Each
icolor magenta "^\s*(each)$" "^\s*(each)\s"
# Parenthesis content
color blue start="\(" end="\)"
# Strings