1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-25 08:41:31 +01:00

vim: add dvc BufRead commands

This commit is contained in:
bretello 2021-09-27 08:45:07 +02:00
parent bf933fcf3e
commit 38f7bf2c60
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -57,6 +57,9 @@ autocmd FileType markdown setlocal wrap spell
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
autocmd FileType go setlocal noexpandtab
au BufRead dvc.yaml let b:ale_fix_on_save=0
au BufRead *.dvc let b:ale_fix_on_save=0
au BufRead *.dvc set filetype=yaml
au BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables