.vimrc: use 2 spaces to indent yaml files

This commit is contained in:
Lexi / Zoe 2019-10-12 21:07:45 +02:00
parent 05078cde30
commit 0380eba019
Signed by: binaryDiv
GPG Key ID: F8D4956E224DA232
1 changed files with 1 additions and 0 deletions

1
.vimrc
View File

@ -25,6 +25,7 @@ set softtabstop=4
" Indentation for Python (use 4 spaces) " Indentation for Python (use 4 spaces)
"autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4 "autocmd FileType python setlocal expandtab shiftwidth=4 softtabstop=4
autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab
" Indentation (don't remove tabs from empty lines) " Indentation (don't remove tabs from empty lines)
"inoremap <CR> <CR>x<BS> "inoremap <CR> <CR>x<BS>