summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vimrc4
1 files changed, 1 insertions, 3 deletions
diff --git a/.vimrc b/.vimrc
index 26ff7266..f5734333 100644
--- a/.vimrc
+++ b/.vimrc
@@ -63,9 +63,7 @@ set shiftround
 filetype plugin indent on
 
 " Indentation exceptions
-autocmd FileType c setlocal sw=4
-autocmd FileType cpp setlocal sw=4
-autocmd FileType lua setlocal sw=4
+autocmd FileType c,cpp,lua setlocal sw=4
 autocmd FileType markdown setlocal tw=72
 
 " C/C++ indent options