mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #293 from G-Rath/patch-5
Add headers for ts & js nanorcs
This commit is contained in:
commit
154ba5bbdd
2 changed files with 2 additions and 0 deletions
|
|
@ -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,4 +1,5 @@
|
|||
syntax "typescript" "\.(ts)$"
|
||||
header "^#!.*\/(env +)ts-node"
|
||||
|
||||
## Default
|
||||
color white "^.+$"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue