summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2012-08-11 13:55:20 -0400
committerJune McEnroe <programble@gmail.com>2012-08-11 13:55:20 -0400
commit1f7599cb5bf5bf81055e10e393643d2a78179228 (patch)
treeff7a8714f9133dadf2e799a79c41014df9d5207c
parentRemove vim-space (diff)
downloadsrc-1f7599cb5bf5bf81055e10e393643d2a78179228.tar.gz
src-1f7599cb5bf5bf81055e10e393643d2a78179228.zip
Condense indentation exceptions
-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
on A. Donenfeld 2015-08-13redirect: be more careful for different cgi setupsJason A. Donenfeld 2015-08-12ui-log: fix double countingJohn Keeping 2015-08-12log: allow users to follow a fileJohn Keeping 2015-08-12shared: make cgit_diff_tree_cb publicJohn Keeping 2015-08-12t0110: Chain together using &&Jason A. Donenfeld 2015-08-12about: always ensure page has a trailing slashJason A. Donenfeld 2015-08-12filters: apply HTML escapingLazaros Koromilas 2015-08-12git: update to v2.5.0Christian Hesse 2015-08-12Fix processing of repo.hide and repo.ignoreDaniel Reichelt