Add autocmd for ansible filetype detection

This commit is contained in:
flyingscorpio@arch-desktop 2021-10-07 20:11:25 +02:00
parent afed1eda1f
commit f2c63fe5ca

View file

@ -212,6 +212,8 @@ augroup configgroup
autocmd BufEnter *.sh setlocal shiftwidth=2 tabstop=2 softtabstop=2 foldlevel=0 foldmethod=marker
autocmd FileType yaml setlocal shiftwidth=4 tabstop=4 softtabstop=4
autocmd BufRead,BufNewFile */playbooks/*.yml set filetype=yaml.ansible
augroup END
" }}}
set modelines=1