We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ca4ffa commit a672087Copy full SHA for a672087
javascript.nanorc
@@ -1,4 +1,4 @@
1
-syntax "JavaScript" "\.(js|ts)$"
+syntax "JavaScript" "\.(js|ts|javascript|typescript)$"
2
comment "//"
3
color blue "\<[-+]?([1-9][0-9]*|0[0-7]*|0x[0-9a-fA-F]+)([uU][lL]?|[lL][uU]?)?\>"
4
color blue "\<[-+]?([0-9]+\.[0-9]*|[0-9]*\.[0-9]+)([EePp][+-]?[0-9]+)?[fFlL]?"
ts.nanorc
-syntax "typescript" "\.(ts)$"
+syntax "typescript" "\.(ts|typescript)$"
header "^#!.*\/(env +)ts-node"
## Default
0 commit comments