Add autocmd for ansible filetype detection
This commit is contained in:
parent
afed1eda1f
commit
f2c63fe5ca
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue