aboutsummaryrefslogtreecommitdiff
path: root/runtime/filetype.vim
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-07-06 23:31:24 +0200
committerGitHub <noreply@github.com>2020-07-06 23:31:24 +0200
commite49fc4ba1f27d968b2a104a14633459ad6091ca3 (patch)
treeee3d32344ec0cba95c64c76169c9607e9a94d72d /runtime/filetype.vim
parent4ab7bbf3eaeacc32e8970b76a19c8682f98cc183 (diff)
parent10c563577cc11b0af4c465a68f17b0a8976631f8 (diff)
downloadrneovim-e49fc4ba1f27d968b2a104a14633459ad6091ca3.tar.gz
rneovim-e49fc4ba1f27d968b2a104a14633459ad6091ca3.tar.bz2
rneovim-e49fc4ba1f27d968b2a104a14633459ad6091ca3.zip
Merge pull request #12538 from janlazo/vim-8.2.1055
vim-patch:8.1.{93,1372},8.2.{1055,1060,1089,1095,1104}
Diffstat (limited to 'runtime/filetype.vim')
-rw-r--r--runtime/filetype.vim13
1 files changed, 11 insertions, 2 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index 6f31eeb832..6807bef3eb 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -538,7 +538,7 @@ au BufNewFile,BufRead *.ecd setf ecd
au BufNewFile,BufRead *.e,*.E call dist#ft#FTe()
" Elinks configuration
-au BufNewFile,BufRead */etc/elinks.conf,*/.elinks/elinks.conf setf elinks
+au BufNewFile,BufRead elinks.conf setf elinks
" ERicsson LANGuage; Yaws is erlang too
au BufNewFile,BufRead *.erl,*.hrl,*.yaws setf erlang
@@ -1130,8 +1130,17 @@ au BufNewFile,BufRead *.ora setf ora
" 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 hooks
+au BufNewFile,BufRead *.hook
+ \ if getline(1) == '[Trigger]' |
+ \ setf dosini |
+ \ endif
+
" Pam conf
-au BufNewFile,BufRead */etc/pam.conf setf pamconf
+au BufNewFile,BufRead */etc/pam.conf setf pamconf
" Pam environment
au BufNewFile,BufRead pam_env.conf,.pam_environment setf pamenv