aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ftplugin/c.vim4
1 files changed, 3 insertions, 1 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
index f77667f..6bd8e83 100644
--- a/ftplugin/c.vim
+++ b/ftplugin/c.vim
@@ -2,9 +2,11 @@ setlocal equalprg=clang-format
2setlocal breakat-=- 2setlocal breakat-=-
3setlocal keywordprg=man\ 3 3setlocal keywordprg=man\ 3
4 4
5setlocal makeprg=make\ %:r
6
5setlocal cindent cinoptions+=(0 | " indent at parentheses 7setlocal cindent cinoptions+=(0 | " indent at parentheses
6 8
7map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR> 9" map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR>
8 10
9 11
10let c_space_errors=1 12let c_space_errors=1
..