mirror of
https://github.com/scopatz/nanorc
synced 2024-11-22 00:25:39 +01:00
Fixed highlighting of inline comments in javascript.nanorc
This commit is contained in:
parent
4980f57239
commit
09d9216ff5
@ -17,7 +17,7 @@ color green "\<(Number|Object|RegExp|String)\>"
|
||||
color red "[-+/*=<>!~%?:&|]"
|
||||
color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
|
||||
color magenta "\\[0-7][0-7]?[0-7]?|\\x[0-9a-fA-F]+|\\[bfnrt'"\?\\]"
|
||||
color brightblack "(^|[[:space:]])//.*"
|
||||
color brightblack "//.*"
|
||||
color brightblack "/\*.+\*/"
|
||||
color brightwhite,cyan "TODO:?"
|
||||
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)"
|
||||
|
Loading…
Reference in New Issue
Block a user