From cfe4b0467d3d5c0863ea30c7bd969349d26ab778 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Philippe=20H=C3=BCrlimann?=
Date: Thu, 22 Feb 2018 08:22:29 +0100
Subject: [PATCH] Add clang-format plugin
---
ftplugin/c.vim | 7 ++-----
vimrc | 1 +
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/ftplugin/c.vim b/ftplugin/c.vim
index cd7cca0..6dd8388 100644
--- a/ftplugin/c.vim
+++ b/ftplugin/c.vim
@@ -1,9 +1,6 @@
let g:clang_complete_copen=1
let g:clang_auto_select=1
-function! FormatFile()
- let l:lines="all"
- pyf /usr/share/clang/clang-format.py
-endfunction
+let g:clang_format#code_style="chromium"
-nnoremap