Set tabs to 2 spaces for yaml
This commit is contained in:
parent
dbab5f525b
commit
09cc3b1f78
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user