mirror of
https://github.com/scopatz/nanorc
synced 2024-11-30 13:45:53 +01:00
Merge pull request #31 from vvillee/master
Fixed a problem where path with stars was mixed up with a comment within...
This commit is contained in:
commit
e95a42eeac
|
@ -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