From 38f7bf2c60cb5254fcd8f4abaee30760b7d779e6 Mon Sep 17 00:00:00 2001 From: bretello Date: Mon, 27 Sep 2021 08:45:07 +0200 Subject: [PATCH] vim: add dvc BufRead commands --- vim/vimrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vim/vimrc b/vim/vimrc index 122983c..dda6358 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -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