aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
authorMax Christian Pohle2020-09-11 22:22:20 +0200
committerMax Christian Pohle2020-09-11 22:22:20 +0200
commitad266961572412e853e4e72f1df99dddf8764284 (patch)
treec133ade70710f534067f8336278fc6d0c87a996e /ftplugin
parent3c64b8467ae6c4d5471a6c8a2aa71c1815664a62 (diff)
downloadvim-karlmarks-ad266961572412e853e4e72f1df99dddf8764284.tar.bz2
vim-karlmarks-ad266961572412e853e4e72f1df99dddf8764284.zip
made parent indentation specific to C
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/c.vim2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
index 82834a2..f77667f 100644
--- a/ftplugin/c.vim
+++ b/ftplugin/c.vim
@@ -2,6 +2,8 @@ setlocal equalprg=clang-format
2setlocal breakat-=- 2setlocal breakat-=-
3setlocal keywordprg=man\ 3 3setlocal keywordprg=man\ 3
4 4
5setlocal cindent cinoptions+=(0 | " indent at parentheses
6
5map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR> 7map <buffer> = :pyfile /usr/share/clang/clang-format.py<CR>
6 8
7 9
..