Fixed highlighting of inline comments in javascript.nanorc

This commit is contained in:
Dante Falzone 2020-08-27 09:19:51 -05:00 committed by GitHub
parent 4980f57239
commit 09d9216ff5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ color green "\<(Number|Object|RegExp|String)\>"
color red "[-+/*=<>!~%?:&|]" color red "[-+/*=<>!~%?:&|]"
color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*" color magenta "/[^*]([^/]|(\\/))*[^\\]/[gim]*"
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 "//.*"
color brightblack "/\*.+\*/" color brightblack "/\*.+\*/"
color brightwhite,cyan "TODO:?" color brightwhite,cyan "TODO:?"
color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)" color yellow ""(\\.|[^"])*"|'(\\.|[^'])*'|(`|\})(\\.|[^`$]|$[^{])*(\$\{|`)"