**New extensions:** - *.vue - this actually like regular HTML file: https://vuejs.org/guide/scaling-up/sfc.html - *.cjs - used for JS in the commonjs module format - *.mjs - used for JS in the ESM module format - *.tmpl - commonly used as HTML templates, like an *.tpl
**New JS keywords:** - `from` - `as`
Example: ```js import { A as B } from 'moduleName'; ``` You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3440
-- Commit Summary --
* update JS keywords and extensions
-- File Changes --
M data/filedefs/filetypes.javascript (2) M data/filetype_extensions.conf (4)
-- Patch Links --
https://github.com/geany/geany/pull/3440.patch https://github.com/geany/geany/pull/3440.diff
github-comments@lists.geany.org