mirror of
https://github.com/neovim/neovim.git
synced 2024-12-31 17:13:26 -07:00
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)
3a974a8933
This commit is contained in:
parent
13520aae16
commit
46734cf7c1
@ -2125,6 +2125,9 @@ au BufNewFile,BufRead *.wm setf webmacro
|
|||||||
" Wget config
|
" Wget config
|
||||||
au BufNewFile,BufRead .wgetrc,wgetrc setf wget
|
au BufNewFile,BufRead .wgetrc,wgetrc setf wget
|
||||||
|
|
||||||
|
" Wget2 config
|
||||||
|
au BufNewFile,BufRead .wget2rc,wget2rc setf wget2
|
||||||
|
|
||||||
" Website MetaLanguage
|
" Website MetaLanguage
|
||||||
au BufNewFile,BufRead *.wml setf wml
|
au BufNewFile,BufRead *.wml setf wml
|
||||||
|
|
||||||
|
@ -1130,7 +1130,9 @@ local filename = {
|
|||||||
["_viminfo"] = "viminfo",
|
["_viminfo"] = "viminfo",
|
||||||
[".viminfo"] = "viminfo",
|
[".viminfo"] = "viminfo",
|
||||||
[".wgetrc"] = "wget",
|
[".wgetrc"] = "wget",
|
||||||
|
[".wget2rc"] = "wget2",
|
||||||
wgetrc = "wget",
|
wgetrc = "wget",
|
||||||
|
wget2rc = "wget2",
|
||||||
[".wvdialrc"] = "wvdial",
|
[".wvdialrc"] = "wvdial",
|
||||||
["wvdial.conf"] = "wvdial",
|
["wvdial.conf"] = "wvdial",
|
||||||
[".Xresources"] = "xdefaults",
|
[".Xresources"] = "xdefaults",
|
||||||
|
@ -591,6 +591,7 @@ let s:filename_checks = {
|
|||||||
\ 'wast': ['file.wast', 'file.wat'],
|
\ 'wast': ['file.wast', 'file.wat'],
|
||||||
\ 'webmacro': ['file.wm'],
|
\ 'webmacro': ['file.wm'],
|
||||||
\ 'wget': ['.wgetrc', 'wgetrc'],
|
\ 'wget': ['.wgetrc', 'wgetrc'],
|
||||||
|
\ 'wget2': ['.wget2rc', 'wget2rc'],
|
||||||
\ 'winbatch': ['file.wbt'],
|
\ 'winbatch': ['file.wbt'],
|
||||||
\ 'wml': ['file.wml'],
|
\ 'wml': ['file.wml'],
|
||||||
\ 'wsh': ['file.wsf', 'file.wsc'],
|
\ 'wsh': ['file.wsf', 'file.wsc'],
|
||||||
|
Loading…
Reference in New Issue
Block a user