commit feeff3775e816a0bf033a54e4a9cc8885a489d36
parent aaa7e6dae06cefae12ef0b8d0aca9131879feac9
Author: Alex Balgavy <alex@balgavy.eu>
Date: Tue, 7 Dec 2021 21:36:04 +0100
vim: use tabs in C
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/vim/after/ftplugin/c.vim b/vim/after/ftplugin/c.vim
@@ -10,5 +10,6 @@ setlocal includeexpr=
let &l:define='\v^\s*(#\s*define)|((const )?(int|char|void|s?size_t) \*? ?)|(struct \ze\k+ \{)|(struct \k+ \ze\k+;)'
let &l:iskeyword='a-z,A-Z,48-57,_,.'
let &l:commentstring='// %s'
-
-set foldmethod=syntax
+setlocal tabstop=4 softtabstop=4 shiftwidth=4 noexpandtab
+setlocal keywordprg=:Man
+setlocal foldmethod=syntax