1
0
mirror of https://github.com/scopatz/nanorc synced 2024-11-25 01:45:39 +01:00

Merge pull request #343 from moorscode/patch-1

Also highlight TypeScript (.ts) as JavaScript
This commit is contained in:
Anthony Scopatz 2020-11-21 21:23:14 -06:00 committed by GitHub
commit 4297786d09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]?"