From: Philippe Hürlimann
Date: Mon, 14 Nov 2016 18:02:53 +0000 (+0100)
Subject: Configured clang-format keybinding and removed unneded lines
X-Git-Url: https://git.hurlimann.org/?a=commitdiff_plain;h=e5e76d4257076dee3b115f4309f5f5ab45e9e98a;p=vimfiles.git
Configured clang-format keybinding and removed unneded lines
---
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
index c69051e..e0c7d37 100644
--- a/ftplugin/c.vim
+++ b/ftplugin/c.vim
@@ -1,5 +1,9 @@
-" open quickfix window on error
let g:clang_complete_copen=1
-" automatically select the first entry in the popup menu, but
-" without inserting it into the code.
let g:clang_auto_select=1
+
+function FormatFile()
+ let l:lines="all"
+ pyf /usr/share/clang/clang-format.py
+endfunction
+
+nnoremap