Set tabs to 2 spaces for yaml

This commit is contained in:
Nise Void 2020-07-14 11:50:05 +02:00
parent dbab5f525b
commit 09cc3b1f78
Signed by: NiseVoid
GPG Key ID: FBA14AC83EA602F3

View File

@ -59,6 +59,8 @@ set list listchars=trail:·,tab:»\ ,eol:¬
" Set indent settings " Set indent settings
set tabstop=4 shiftwidth=4 noexpandtab set tabstop=4 shiftwidth=4 noexpandtab
autocmd BufRead,BufNewFile *.py set tabstop=4 shiftwidth=4 noexpandtab autocmd BufRead,BufNewFile *.py set tabstop=4 shiftwidth=4 noexpandtab
autocmd BufRead,BufNewFile *.yml set tabstop=2 shiftwidth=2 expandtab
autocmd BufRead,BufNewFile *.yaml set tabstop=2 shiftwidth=2 expandtab
" Disable auto newlines " Disable auto newlines
set wrap set wrap