diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-09-07 15:55:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-07 15:55:39 +0200 |
commit | 9d1d3a67073ab04f29a1e437e90faede764a4313 (patch) | |
tree | 71370cee40c2f8c022ee62478b81a502a3e26a95 /runtime/lua/vim | |
parent | ff9d2b17fb0f538b2b6d58c33c1568c699b0bb0e (diff) | |
download | rneovim-9d1d3a67073ab04f29a1e437e90faede764a4313.tar.gz rneovim-9d1d3a67073ab04f29a1e437e90faede764a4313.tar.bz2 rneovim-9d1d3a67073ab04f29a1e437e90faede764a4313.zip |
vim-patch:9.0.0402: javascript module files are not recoginzed (#20108)
Problem: Javascript module files are not recoginzed.
Solution: Recognize "*.jsm" files as Javascript. (Brett Holman,
closes vim/vim#11069)
https://github.com/vim/vim/commit/bb6c4073e79e86ef69c315338e00c12f0d8d6395
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 6306605641..f76b4cced9 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -540,6 +540,7 @@ local extension = { mjs = 'javascript', javascript = 'javascript', js = 'javascript', + jsm = 'javascript', cjs = 'javascript', jsx = 'javascriptreact', clp = 'jess', |