mirror of
https://github.com/scopatz/nanorc
synced 2024-12-25 14:54:51 +01:00
Shrinked parenthesis regex
This commit is contained in:
parent
966e51f363
commit
5aaa682af6
|
@ -1,4 +1,4 @@
|
|||
syntax "Jade" "\.jade$"
|
||||
syntax "Pug" "\.pug$"
|
||||
# Elements
|
||||
color yellow "^\s*([a-z0-9]+)"
|
||||
# Main elements
|
||||
|
@ -12,7 +12,7 @@ color white "^\s*(\-)"
|
|||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
color blue start="\(" end="\)"
|
||||
# Strings
|
||||
color cyan "('[^']*')|(\"[^\"]*\")"
|
||||
# Parenthesis, commas, equals
|
||||
|
|
|
@ -12,7 +12,7 @@ color white "^\s*(\-)"
|
|||
# Conditionals
|
||||
icolor magenta "^\s*(if|else|else if)$" "^\s*(if|else|else if)\s"
|
||||
# Parenthesis content
|
||||
color blue "\((.*?)\)"
|
||||
color blue start="\(" end="\)"
|
||||
# Strings
|
||||
color cyan "('[^']*')|(\"[^\"]*\")"
|
||||
# Parenthesis, commas, equals
|
||||
|
|
Loading…
Reference in New Issue
Block a user