Vim indent settings

f18e46ea1e0a3520d464def7b5646c9dbe31172d
Alexis Sellier committed ago 1 parent 7a135739
.vimrc +1 -0
77 77
au FileType javascript  set sts=4 sw=4 expandtab
78 78
au FileType go          set ts=4  sw=4 noexpandtab
79 79
au FileType c,cpp       set       sw=4 noexpandtab
80 80
au FileType lua         set       sw=2 expandtab
81 81
au FileType sh          set       sw=2 expandtab
82 +
au FileType vim         set sts=2 sw=2 expandtab
82 83
83 84
" Remove trailing whitespace on save
84 85
autocmd BufWritePre * call s:StripTrailing()
85 86
function! s:StripTrailing()
86 87
    let l = line(".")