mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 19:00:27 +01:00
Fixed a problem where path with stars was mixed up with a comment within a text delimiter characters
This commit is contained in:
parent
a376424640
commit
ad3fff659d
|
@ -14,10 +14,10 @@ color green "\<(Array|Boolean|Date|Enumerator|Error|Function|Math)\>"
|
||||||
color green "\<(Number|Object|RegExp|String)\>"
|
color green "\<(Number|Object|RegExp|String)\>"
|
||||||
color red "[-+/*=<>!~%?:&|]"
|
color red "[-+/*=<>!~%?:&|]"
|
||||||
color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
|
color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
|
||||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
|
||||||
color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
||||||
color brightblack "(^|[[:space:]])//.*"
|
color brightblack "(^|[[:space:]])//.*"
|
||||||
color brightblack start="/\*" end="\*/"
|
color brightblack "/\*.+\*/"
|
||||||
color brightwhite,cyan "TODO:?"
|
color brightwhite,cyan "TODO:?"
|
||||||
|
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'"
|
||||||
color ,green "[[:space:]]+$"
|
color ,green "[[:space:]]+$"
|
||||||
color ,red " +"
|
color ,red " +"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user