Add support for .mjs files

This commit is contained in:
blankie 2023-10-16 17:42:19 +11:00
parent 1aa64a86cf
commit f83be0e1d7
No known key found for this signature in database
GPG key ID: CC15FC822C7F61F5
2 changed files with 3 additions and 3 deletions

View file

@ -1,4 +1,4 @@
syntax "JavaScript" "\.(js|ts)$"
syntax "JavaScript" "\.(m?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]?"