Merge f83be0e1d7749c32051d5a46cffb3e02b0c2ac53 into 1aa64a86cf4c750e4d4788ef1a19d7a71ab641dd

This commit is contained in:
blankie 2023-10-16 06:43:18 +00:00 committed by GitHub
commit d3890957e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
syntax "JavaScript" "\.(js|ts)$" syntax "JavaScript" "\.(m?js|ts)$"
comment "//" comment "//"
color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>" color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?" color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"

View File

@ -1,4 +1,4 @@
### all *js files ( e.g. Firefox user.js, prefs.js ) ### all *js and *mjs files ( e.g. Firefox user.js, prefs.js )
## Old version ## Old version
@ -12,7 +12,7 @@
## New updated taken from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting ## New updated taken from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting
syntax "JavaScript" "\.(js)$" syntax "JavaScript" "\.(m?js)$"
header "^#!.*\/(env +)node" header "^#!.*\/(env +)node"
comment "//" comment "//"