forked from aniani/vim
patch 8.2.4778: pacman files use dosini filetype
Problem: Pacman files use dosini filetype. Solution: Use conf instead. (Chaoren Lin, closes #10213)
This commit is contained in:
committed by
Bram Moolenaar
parent
366f0bdd08
commit
35cff32dd8
@@ -1287,13 +1287,13 @@ au BufNewFile,BufRead *.org,*.org_archive setf org
|
||||
" Packet filter conf
|
||||
au BufNewFile,BufRead pf.conf setf pf
|
||||
|
||||
" Pacman Config (close enough to dosini)
|
||||
au BufNewFile,BufRead */etc/pacman.conf setf dosini
|
||||
" Pacman config
|
||||
au BufNewFile,BufRead */etc/pacman.conf setf conf
|
||||
|
||||
" Pacman hooks
|
||||
au BufNewFile,BufRead *.hook
|
||||
\ if getline(1) == '[Trigger]' |
|
||||
\ setf dosini |
|
||||
\ setf conf |
|
||||
\ endif
|
||||
|
||||
" Pam conf
|
||||
|
||||
Reference in New Issue
Block a user