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
896a2017f72956c72d873a67259004a&follow=1'>Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe