aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-04-21 22:15:18 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-04-21 22:15:18 +0200
commit3d047d999a2cf54c17b1f90d90f0c478a308e2d8 (patch)
treec63963697787ba4ce711e809fc5be825533fabf3
parent3442c598457176b1518ebd193748e2ffd5787faf (diff)
downloaddotfiles-3d047d999a2cf54c17b1f90d90f0c478a308e2d8.tar.xz
vim: put yaml settings in augroup
-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']