mirror of
https://github.com/scopatz/nanorc
synced 2024-11-23 10:50:26 +01:00
Merge pull request #343 from moorscode/patch-1
Also highlight TypeScript (.ts) as JavaScript
This commit is contained in:
commit
4297786d09
|
@ -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…
Reference in New Issue
Block a user