Add .typescript and .javascript support

This commit is contained in:
Yash-Singh1 2021-06-09 19:45:22 -07:00
parent 1aa64a86cf
commit 98a66bc901
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
syntax "JavaScript" "\.(js|ts)$"
syntax "JavaScript" "\.(js|ts|javascript|typescript)$"
comment "//"
color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"

View File

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