diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-02-12 12:03:02 +0100 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2022-02-12 12:04:09 +0100 |
commit | 3b13c7fc8b15d2ab90c070131c0268711fcf4f10 (patch) | |
tree | 211422fa7f1da792bd98833817b000fc87a4c20c /runtime | |
parent | a7321e37a75fff5c0048b0779cf91d504455d6f3 (diff) | |
download | rneovim-3b13c7fc8b15d2ab90c070131c0268711fcf4f10.tar.gz rneovim-3b13c7fc8b15d2ab90c070131c0268711fcf4f10.tar.bz2 rneovim-3b13c7fc8b15d2ab90c070131c0268711fcf4f10.zip |
vim-patch:8.2.4352: ReScript files are not recognized
Problem: ReScript files are not recognized.
Solution: Add the *.res and *.resi patterns. (Ananda Umamil, closes vim/vim#9752)
https://github.com/vim/vim/commit/0c3cc2fec31521b0697edc406f85b7a43e979860
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/filetype.vim | 3 | ||||
-rw-r--r-- | runtime/lua/vim/filetype.lua | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index 8b40b43a04..35f4b25120 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -1543,6 +1543,9 @@ au BufNewFile,BufRead *.r,*.R call dist#ft#FTr() " Remind au BufNewFile,BufRead .reminders,*.remind,*.rem setf remind +" ReScript +au BufNewFile,BufRead *.res,*.resi setf rescript + " Resolv.conf au BufNewFile,BufRead resolv.conf setf resolv diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index e2cf408f3b..2fe4aa3d32 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -514,6 +514,8 @@ local extension = { rego = "rego", rem = "remind", remind = "remind", + res = "rescript", + resi = "rescript", frt = "reva", testUnit = "rexx", rex = "rexx", |