mirror of
https://github.com/vim/vim
synced 2025-07-16 01:01:58 +00:00
patch 9.1.1212: filetype: logrotate'd pacmanlogs are not recognized
Problem: filetype: logrotate'd pacmanlogs are not recognized Solution: also detect pacman.log* files as pacmanlog filetype, remove BufNewFile autocmd (Eisuke Kawashima) closes: #16873 Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
3c7d9b11c8
commit
20d23ce93b
@ -1814,7 +1814,7 @@ au BufNewFile,BufRead *.hook
|
||||
au BufNewFile,BufRead {.,}makepkg.conf setf sh
|
||||
|
||||
" Pacman log
|
||||
au BufNewFile,BufRead pacman.log setf pacmanlog
|
||||
au BufRead pacman.log* call s:StarSetf('pacmanlog')
|
||||
|
||||
" Pam conf
|
||||
au BufNewFile,BufRead */etc/pam.conf setf pamconf
|
||||
|
Reference in New Issue
Block a user