aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc5
1 files changed, 4 insertions, 1 deletions
diff --git a/vim/vimrc b/vim/vimrc
index e32c81f..8f92da2 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -109,7 +109,10 @@ augroup filetypes
autocmd BufRead,BufNewFile *.h set filetype=c
augroup END
-autocmd FileType yaml setlocal ts=2 sts=2 sw=2 noet
+augroup indentation
+ autocmd!
+ autocmd FileType yaml setlocal ts=2 sts=2 sw=2 noet
+augroup END
" Use clang_check for syntax checking
let g:syntastic_c_checkers = ['clang_check']