Commit Graph

13 Commits

Author SHA1 Message Date
blankie
f83be0e1d7
Add support for .mjs files 2023-10-16 17:42:19 +11:00
Jip
ed51c7c00c
Also highlight TypeScript (.ts) as JavaScript
As TypeScript extends JavaScript to add types, the basics of JavaScript still apply.
This change will parse `.ts` files as if they are JavaScript files, providing basic highlighting support.
2020-11-21 23:28:55 +01:00
Dante Falzone
09d9216ff5
Fixed highlighting of inline comments in javascript.nanorc 2020-08-27 09:19:51 -05:00
Zach DeCook
97f06f6c73 * Nanorc: Copy comment syntax from nano 4.6 nanorcs 2019-12-18 11:13:13 -05:00
Ralf Brandenstein
879676489f
javascript.nanorc - highlights ending brace too 2019-03-17 07:55:13 +01:00
Huub de Beer
1cabaa8e07 Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files. 2017-07-16 13:49:51 +02:00
Huub de Beer
86d6ce6dfd Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files. 2017-07-16 13:48:35 +02:00
Huub de Beer
8aaecabe59 Added ECMAScript 2015/6/7 keywrods and types to the two JavaScript syntac files. 2017-07-16 13:46:55 +02:00
TSUYUSATO Kitsune
dc26b2f6dd Add support for ES6 template literal 2017-06-30 16:30:16 +09:00
Jody Leonard
b1c896c01c Remove black coloring for several rc's
Some of the configurations turn parentheses and or curly braces black,
which become invisible against the default nano black background color.
2015-10-24 07:55:49 -04:00
Jody Leonard
b64de43467 Change tab coloring behavior for several rc's
The commit mariuszs/nanorc@e5cc8be863
introduced a number of rc files that cause tabs to always show as red
(even with trailing spaces). Adjust the behavior according to changes in
https://github.com/nanorc/nanorc/blob/master/mixins/lint.nanorc, which
seems to be an updated source of the original commit. Make tabs appear
green without trailing characters, red with trailing spaces, and
uncolored when followed by any other character.
2015-10-24 06:58:36 -04:00
Ville Pulkkinen
ad3fff659d Fixed a problem where path with stars was mixed up with a comment within a text delimiter characters 2014-07-31 13:57:13 +03:00
Mariusz Smykuła
e5cc8be863 More syntax files from craigbarnes/nanorc 2013-06-02 12:50:31 +02:00