mirror of
https://git.decapod.one/brethil/dotfiles
synced 2024-11-24 20:41:31 +01:00
vim: add dvc BufRead commands
This commit is contained in:
parent
bf933fcf3e
commit
38f7bf2c60
|
@ -57,6 +57,9 @@ autocmd FileType markdown setlocal wrap spell
|
||||||
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
autocmd FileType yaml,yml setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
autocmd FileType vue setlocal shiftwidth=2 softtabstop=2 expandtab
|
||||||
autocmd FileType go setlocal noexpandtab
|
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 */playbooks/*.yml set filetype=yaml.ansible
|
||||||
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables
|
au BufRead,BufNewFile rules.v[46] *.rules setlocal filetype=iptables
|
||||||
|
|
Loading…
Reference in New Issue
Block a user