diff options
| -rw-r--r-- | ftplugin/c.vim | 4 |
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 | |||
| 2 | setlocal breakat-=- | 2 | setlocal breakat-=- |
| 3 | setlocal keywordprg=man\ 3 | 3 | setlocal keywordprg=man\ 3 |
| 4 | 4 | ||
| 5 | setlocal makeprg=make\ %:r | ||
| 6 | |||
| 5 | setlocal cindent cinoptions+=(0 | " indent at parentheses | 7 | setlocal cindent cinoptions+=(0 | " indent at parentheses |
| 6 | 8 | ||
| 7 | map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR> | 9 | " map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR> |
| 8 | 10 | ||
| 9 | 11 | ||
| 10 | let c_space_errors=1 | 12 | let c_space_errors=1 |
