aboutsummaryrefslogtreecommitdiff
path: root/ftplugin
diff options
context:
space:
mode:
Diffstat (limited to 'ftplugin')
-rw-r--r--ftplugin/c.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
new file mode 100644
index 0000000..e7dc155
--- /dev/null
+++ b/ftplugin/c.vim
@@ -0,0 +1,8 @@
1setlocal equalprg=clang-format
2setlocal breakat-=-
3setlocal keywordprg=man\ 3
4
5map <buffer> = :pyf /usr/share/clang/clang-format.py<CR>
6
7
8
..