vim: add dvc BufRead commands

feature/improve-speed
bretello 2021-09-27 08:45:07 +02:00
parent bf933fcf3e
commit 38f7bf2c60
Signed by: brethil
GPG Key ID: 876AAC6290170FE7
1 changed files with 3 additions and 0 deletions

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