.vimrc: use 2 spaces to indent yaml files
This commit is contained in:
parent
05078cde30
commit
0380eba019
1
.vimrc
1
.vimrc
|
|
@ -25,6 +25,7 @@ set softtabstop=4
|
|||
|
||||
" Indentation for Python (use 4 spaces)
|
||||
"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)
|
||||
"inoremap <CR> <CR>x<BS>
|
||||
|
|
|
|||
Loading…
Reference in New Issue