aboutsummaryrefslogtreecommitdiff
path: root/ftplugin/c.vim
blob: 6bd8e839584bbd535fa85a591006b04934d9db0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
setlocal equalprg=clang-format
setlocal breakat-=-
setlocal keywordprg=man\ 3

setlocal makeprg=make\ %:r

setlocal cindent cinoptions+=(0        | " indent at parentheses

" map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR>


let c_space_errors=1
let c_gnu=1


hi! cConstant gui=italic
hi! cConditional gui=italic
hi! cInclude gui=italic
..