1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-11-21 19:11:30 +01:00

vim: fix aupat for iptables files

This commit is contained in:
bretello 2023-06-22 11:25:33 +02:00
parent ca30bd2d47
commit 5563b3434f
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -85,7 +85,7 @@ au BufRead *.dvc set filetype=yaml
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
au BufRead,BufNewFile */.github/*/*.y{,a}ml au BufRead,BufNewFile */.github/*/*.y{,a}ml
\ let b:ale_linters = {'yaml': ['actionlint'] } \ let b:ale_linters = {'yaml': ['actionlint'] }
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables au BufRead,BufNewFile rules.v[46],*.rules setlocal filetype=iptables
autocmd! bufwritepost ~/.vimrc source ~/.vimrc autocmd! bufwritepost ~/.vimrc source ~/.vimrc