mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +01:00
Added conditionals
This commit is contained in:
parent
8d108e569f
commit
966e51f363
|
@ -4,7 +4,13 @@ color yellow "^\s*([a-z0-9]+)"
|
|||
# Main elements
|
||||
color red "^\s*(html|head|body)"
|
||||
# Includes
|
||||
color magenta "^\s*(include)"
|
||||
icolor magenta "^\s*(include)"
|
||||
# Variables
|
||||
color brightblue "^\s*(\-)\s(var)\s([a-z0-9]+)"
|
||||
icolor magenta "^\s*(\-)\s(var)$" "^\s*(\-)\s(var)\s"
|
||||
color white "^\s*(\-)"
|
||||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
# Strings
|
||||
|
|
|
@ -4,7 +4,13 @@ color yellow "^\s*([a-z0-9]+)"
|
|||
# Main elements
|
||||
color red "^\s*(html|head|body)"
|
||||
# Includes
|
||||
color magenta "^\s*(include)"
|
||||
icolor magenta "^\s*(include)"
|
||||
# Variables
|
||||
color brightblue "^\s*(\-)\s(var)\s([a-z0-9]+)"
|
||||
icolor magenta "^\s*(\-)\s(var)$" "^\s*(\-)\s(var)\s"
|
||||
color white "^\s*(\-)"
|
||||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
# Strings
|
||||
|
|
Loading…
Reference in New Issue
Block a user