diff options
author | Christian Clason <c.clason@uni-graz.at> | 2022-05-03 10:23:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-03 10:23:11 +0200 |
commit | 46734cf7c1e5abe8e452354db6914364bfe89f0d (patch) | |
tree | 2b5890eedffb30c14b05be38c9b6548dac4e37ba /runtime | |
parent | 13520aae163bfc243fc050cf16b89082c0896eaf (diff) | |
download | rneovim-46734cf7c1e5abe8e452354db6914364bfe89f0d.tar.gz rneovim-46734cf7c1e5abe8e452354db6914364bfe89f0d.tar.bz2 rneovim-46734cf7c1e5abe8e452354db6914364bfe89f0d.zip |
vim-patch:8.2.4859: wget2 files are not recognized (#18385)
Problem: wget2 files are not recognized.
Solution: Add patterns to recognize wget2. (Doug Kearns)
https://github.com/vim/vim/commit/3a974a89331182139e12386275f052a50c247ecb
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 8d0efb21d9..b8f40bbef0 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2125,6 +2125,9 @@ au BufNewFile,BufRead *.wm setf webmacro " Wget config au BufNewFile,BufRead .wgetrc,wgetrc setf wget +" Wget2 config +au BufNewFile,BufRead .wget2rc,wget2rc setf wget2 + " Website MetaLanguage au BufNewFile,BufRead *.wml setf wml diff --git a/runtime/lua/vim/filetype.lua b/runtime/lua/vim/filetype.lua index 7679ed555f..911950171f 100644 --- a/runtime/lua/vim/filetype.lua +++ b/runtime/lua/vim/filetype.lua @@ -1130,7 +1130,9 @@ local filename = { ["_viminfo"] = "viminfo", [".viminfo"] = "viminfo", [".wgetrc"] = "wget", + [".wget2rc"] = "wget2", wgetrc = "wget", + wget2rc = "wget2", [".wvdialrc"] = "wvdial", ["wvdial.conf"] = "wvdial", [".Xresources"] = "xdefaults", |