From 3d047d999a2cf54c17b1f90d90f0c478a308e2d8 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Tue, 21 Apr 2015 22:15:18 +0200 Subject: vim: put yaml settings in augroup --- vim/vimrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vim') 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'] -- cgit v1.2.3-54-g00ecf