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
2 changed files with 2 additions and 0 deletions
+1
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
+1
View File
@@ -1,4 +1,5 @@
syntax "typescript" "\.(ts)$"
header "^#!.*\/(env +)ts-node"
## Default
color white "^.+$"