feat(js): add header regex

This commit is contained in:
Gareth Jones 2020-03-18 14:46:45 +13:00 committed by GitHub
parent 15d54a8cc5
commit d573d03ccf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -13,6 +13,7 @@
## New updated taken from http://wiki.linuxhelp.net/index.php/Nano_Syntax_Highlighting
syntax "JavaScript" "\.(js)$"
header "^#!.*\/(env +)node"
comment "//"
## Default