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

vim: add extra rule for iptables filetypes

This commit is contained in:
bretello 2020-12-09 02:04:02 +01:00
parent daf0094409
commit d066906af3
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -33,7 +33,7 @@ set expandtab shiftwidth=4 tabstop=4 "always use spaces
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
au BufRead,BufNewFile rules.v[46] setlocal filetype=iptables
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables
if has('persistent_undo')
set undodir=$HOME/.vim/undo