1
0
forked from aniani/vim

patch 9.1.0243: filetype: netrw history file is not recognized

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>
This commit is contained in:
Wu, Zhenyu
2024-03-31 19:20:14 +02:00
committed by Christian Brabandt
parent be71ac694f
commit abbb4a4f70
3 changed files with 4 additions and 2 deletions

View File

@@ -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