mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -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
|
||||
au BufNewFile,BufRead .wgetrc,wgetrc setf wget
|
||||
|
||||
" Wget2 config
|
||||
au BufNewFile,BufRead .wget2rc,wget2rc setf wget2
|
||||
|
||||
" Website MetaLanguage
|
||||
au BufNewFile,BufRead *.wml setf wml
|
||||
|
||||
|
@ -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",
|
||||
|
@ -591,6 +591,7 @@ let s:filename_checks = {
|
||||
\ 'wast': ['file.wast', 'file.wat'],
|
||||
\ 'webmacro': ['file.wm'],
|
||||
\ 'wget': ['.wgetrc', 'wgetrc'],
|
||||
\ 'wget2': ['.wget2rc', 'wget2rc'],
|
||||
\ 'winbatch': ['file.wbt'],
|
||||
\ 'wml': ['file.wml'],
|
||||
\ 'wsh': ['file.wsf', 'file.wsc'],
|
||||
|
Loading…
Reference in New Issue
Block a user