From 1df8ca0663efb83b93f0b35ed2cb3e8e57a64b1b Mon Sep 17 00:00:00 2001 From: chxuan <787280310@qq.com> Date: Sat, 23 Jun 2018 10:11:11 +0800 Subject: [PATCH] update vimrc --- .vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vimrc b/.vimrc index a636860..f1ef572 100644 --- a/.vimrc +++ b/.vimrc @@ -89,7 +89,7 @@ set fileencodings=utf8,ucs-bom,gbk,cp936,gb2312,gb18030 " 打开C/C++文件时,启用ycm补全插件,否则启用vcm let suffix = expand("%:e") -if suffix == "h" || suffix == "cpp" || suffix == "c" +if suffix == "h" || suffix == "hpp" || suffix == "cpp" || suffix == "cc" || suffix == "c" let g:loaded_VimCompletesMe = 0 else let g:loaded_youcompleteme = 0