mirror of
https://github.com/scopatz/nanorc
synced 2024-11-24 17:45:38 +01:00
feat(js): add header regex
This commit is contained in:
parent
15d54a8cc5
commit
d573d03ccf
@ -13,6 +13,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" "\.(js)$"
|
||||||
|
header "^#!.*\/(env +)node"
|
||||||
comment "//"
|
comment "//"
|
||||||
|
|
||||||
## Default
|
## Default
|
||||||
|
Loading…
Reference in New Issue
Block a user