1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-22 16:45:40 +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:
Anthony Scopatz 2014-07-31 10:14:38 -07:00
commit e95a42eeac

View File

@ -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 " +"