diff options
author | Wu, Zhenyu <wuzhenyu@ustc.edu> | 2024-03-31 19:20:14 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2024-03-31 19:20:14 +0200 |
commit | abbb4a4f7032de9e223293182402af5e2867e372 (patch) | |
tree | 369fc86f6062564bcdf9c12da32d9c314ddd8136 /runtime/filetype.vim | |
parent | be71ac694f623e162f1ecb7a182bdf2fd281591f (diff) |
patch 9.1.0243: filetype: netrw history file is not recognizedv9.1.0243
Problem: filetype: netrw history file is not recognized
Solution: Detect .netrwhist as vim files (Wu, Zhenyu)
closes: #14364
Signed-off-by: Wu, Zhenyu <wuzhenyu@ustc.edu>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r-- | runtime/filetype.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim index be59bc0d56..c06a056294 100644 --- a/runtime/filetype.vim +++ b/runtime/filetype.vim @@ -2436,7 +2436,7 @@ au BufNewFile,BufRead *.tape setf vhs au BufNewFile,BufRead *.hdl,*.vhd,*.vhdl,*.vbe,*.vst,*.vho setf vhdl " Vim script -au BufNewFile,BufRead *.vim,.exrc,_exrc setf vim +au BufNewFile,BufRead *.vim,.exrc,_exrc,.netrwhist setf vim " Viminfo file au BufNewFile,BufRead .viminfo,_viminfo setf viminfo |