.vimrc: filetype autodetect stuff
This commit is contained in:
parent
5059cf0ba4
commit
2d461bc861
3
.vimrc
3
.vimrc
|
|
@ -23,6 +23,9 @@ set shiftwidth=4
|
||||||
set tabstop=4
|
set tabstop=4
|
||||||
set softtabstop=4
|
set softtabstop=4
|
||||||
|
|
||||||
|
" Autodetect stuff like 'use tabs in Makefiles'
|
||||||
|
filetype plugin on
|
||||||
|
|
||||||
" 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
|
autocmd FileType yml,yaml setlocal ts=2 sts=2 sw=2 expandtab
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue