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:
parent
c5a968e11a
commit
d64254f33d
@ -15,6 +15,10 @@ icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
|
|||||||
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
|
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
|
||||||
# Conditionals
|
# Conditionals
|
||||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
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
|
# Parenthesis content
|
||||||
color blue start="\(" end="\)"
|
color blue start="\(" end="\)"
|
||||||
# Strings
|
# Strings
|
||||||
|
@ -15,6 +15,10 @@ icolor magenta "^\s*(case|when|default)$" "^\s*(case|when|default)\s"
|
|||||||
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
|
color brightred "^\s*-\s(break)$" "^\s*-\s(break)\s"
|
||||||
# Conditionals
|
# Conditionals
|
||||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
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
|
# Parenthesis content
|
||||||
color blue start="\(" end="\)"
|
color blue start="\(" end="\)"
|
||||||
# Strings
|
# Strings
|
||||||
|
Loading…
Reference in New Issue
Block a user