diff options
author | NullVoxPopuli <LPSego3+dev@gmail.com> | 2022-02-19 16:35:58 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-02-19 16:35:58 +0000 |
commit | cdf717283ca70b18f20b8a2cefe7957083280c6f (patch) | |
tree | 9cdf3d2aaa37358e2690079f9539f44a0350ddd8 /runtime | |
parent | d56eb654f50434ea590142c0f080efba91bfe7f8 (diff) |
patch 8.2.4424: ".gts" and ".gjs" files are not recognizedv8.2.4424
Problem: ".gts" and ".gjs" files are not recognized.
Solution: Recognize Glimmer flavored typescript and javascript.
(closes #9799)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index c75fdfb8c7..df076d1695 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -730,6 +730,10 @@ au BufNewFile,BufRead gnashrc,.gnashrc,gnashpluginrc,.gnashpluginrc setf gnash au BufNewFile,BufRead gitolite.conf setf gitolite au BufNewFile,BufRead {,.}gitolite.rc,example.gitolite.rc setf perl +" Glimmer-flavored TypeScript and JavaScript +au BufNewFile,BufRead *.gts setf typescript.glimmer +au BufNewFile,BufRead *.gjs setf javascript.glimmer + " Gnuplot scripts au BufNewFile,BufRead *.gpi,.gnuplot setf gnuplot |