1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-24 09:35:39 +01:00

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

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