nano/syntax
Benno Schulenberg f1a04f780a syntax: javascript: recognize also the .mjs extension
The V8 JavaScript-engine developers recommend using this extension:
  https://v8.dev/features/modules#mjs

Also, add the fairly new "JavaScript source" as magic description.

This fulfills https://savannah.gnu.org/bugs/?65334.
Requested-by: Matt Whitlock <gnu@mattwhitlock.name>
2024-02-20 17:00:48 +01:00
..
extra syntax: debian: remove file -- Debian itself will have to handle it 2021-12-12 11:45:21 +01:00
asm.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
autoconf.nanorc syntaxes: use one regex for coloring quoted strings, to avoid overlap 2021-10-26 13:28:33 +02:00
awk.nanorc tweaks: swap two parts of specific regexes, for consistency with others 2021-10-27 11:20:07 +02:00
c.nanorc syntax: c: require a preceding blank when a line comment contains a quote 2024-01-09 10:20:50 +01:00
changelog.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
cmake.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
css.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
default.nanorc bump version numbers and add a news item for the 7.0 release 2022-11-15 11:17:34 +01:00
elisp.nanorc tweaks: swap two parts of specific regexes, for consistency with others 2021-10-27 11:20:07 +02:00
email.nanorc syntax: email: use a character class, as \s does not work inside brackets 2021-10-18 11:52:05 +02:00
go.nanorc syntaxes: colorize hex more strictly by using character class [:xdigit:] 2021-11-15 16:17:31 +01:00
groff.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
guile.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
html.nanorc syntax: html: colorize specially the other two emphasizing tags too 2023-01-05 17:01:20 +01:00
java.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
javascript.nanorc syntax: javascript: recognize also the .mjs extension 2024-02-20 17:00:48 +01:00
json.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
lua.nanorc syntaxes: colorize hex more strictly by using character class [:xdigit:] 2021-11-15 16:17:31 +01:00
Makefile.am syntax: debian: remove file -- Debian itself will have to handle it 2021-12-12 11:45:21 +01:00
makefile.nanorc syntax: makefile: ensure that the <Tab> key always produces a tab 2024-02-05 17:17:37 +01:00
man.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
markdown.nanorc syntax: markdown: add author and license line 2020-09-15 19:11:35 +02:00
nanohelp.nanorc help: use smaller triangles for the arrows 2021-06-14 09:29:27 +02:00
nanorc.nanorc syntax: nanorc: colorize valid function names plus surrounding braces 2022-08-18 09:11:49 +02:00
nftables.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
objc.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
ocaml.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
patch.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
perl.nanorc syntax: perl: add missing keywords, and reduce the length of some lines 2022-07-25 15:53:03 +02:00
php.nanorc tweaks: swap two parts of specific regexes, for consistency with others 2021-10-27 11:20:07 +02:00
po.nanorc syntaxes: colorize hex more strictly by using character class [:xdigit:] 2021-11-15 16:17:31 +01:00
python.nanorc syntax: python: colorize decorators specially 2023-01-22 12:31:45 +01:00
ruby.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
rust.nanorc tweaks: fold some regexes together, and trim or improve some comments 2021-10-27 11:25:45 +02:00
sh.nanorc syntaxes: fold a couple of regexes together, and improve a few comments 2022-02-16 13:07:11 +01:00
sql.nanorc syntax: sql: add a few more missing keywords, like TRUE and FALSE 2021-12-07 12:27:11 +01:00
tcl.nanorc tweaks: wrap overlong lines in the Tcl syntax, to make them manageable 2022-12-11 12:40:22 +01:00
tex.nanorc syntaxes: uniformize the initial comment 2020-04-20 19:21:56 +02:00
texinfo.nanorc syntax: texinfo: be more precise in colorizing @commands 2021-10-17 12:25:01 +02:00
xml.nanorc syntax: xml: colorize user-defined entities differently 2022-04-04 12:08:23 +02:00
yaml.nanorc syntax: yaml: allow slash and period in key names 2021-10-03 15:38:43 +02:00