mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Merge pull request #343 from moorscode/patch-1
Also highlight TypeScript (.ts) as JavaScript
This commit is contained in:
commit
4297786d09
1 changed files with 1 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
syntax "JavaScript" "\.js$"
|
||||
syntax "JavaScript" "\.(js|ts)$"
|
||||
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]?"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue