diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-02-19 23:41:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-19 23:41:11 +0100 |
commit | 439a843b80339d80e788e8382ae91414c3db6dd5 (patch) | |
tree | b308f97c1658ae03846f4410589c5ab2e855c418 /runtime/lua/vim | |
parent | 791e400858ae8d32f974b40c4e1c0d54b66f610f (diff) | |
download | rneovim-439a843b80339d80e788e8382ae91414c3db6dd5.tar.gz rneovim-439a843b80339d80e788e8382ae91414c3db6dd5.tar.bz2 rneovim-439a843b80339d80e788e8382ae91414c3db6dd5.zip |
vim-patch:8.2.4424: ".gts" and ".gjs" files are not recognized (#17464)
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes vim/vim#9799)
https://github.com/vim/vim/commit/cdf717283ca70b18f20b8a2cefe7957083280c6f
Diffstat (limited to 'runtime/lua/vim')
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index c6bcdd965c..0555b87651 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -247,6 +247,8 @@ local extension = { gradle = "groovy", groovy = "groovy", gsp = "gsp", + gjs = "javascript.glimmer", + gts = "typescript.glimmer", hack = "hack", hackpartial = "hack", haml = "haml", |