Merge pull request #293 from G-Rath/patch-5

Add headers for ts & js nanorcs
This commit is contained in:
Anthony Scopatz 2020-03-18 00:19:36 -05:00 committed by GitHub
commit 154ba5bbdd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 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

View File

@ -1,4 +1,5 @@
syntax "typescript" "\.(ts)$"
header "^#!.*\/(env +)ts-node"
## Default
color white "^.+$"