From 29fe661959b50afa19f65a5b25123c31a5054298 Mon Sep 17 00:00:00 2001 From: light <1870499383@qq.com> Date: Wed, 24 Oct 2018 12:45:57 +0800 Subject: [PATCH] asd --- vim/ftplugin/cpp.vim | 2 +- vim/vimrc | 13 ++++++++++++- 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/vim/ftplugin/cpp.vim b/vim/ftplugin/cpp.vim index aa3db2e..784400a 100644 --- a/vim/ftplugin/cpp.vim +++ b/vim/ftplugin/cpp.vim @@ -1 +1 @@ -set tags+=~/.vim/systag +set tags+=~/.vim/systags diff --git a/vim/vimrc b/vim/vimrc index e3f8c90..2ab1539 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -2,6 +2,18 @@ set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() +Plugin 'VundleVim/Vundle.vim' + +" hightlight + +Plugin 'octol/vim-cpp-enhanced-highlight' +let g:cpp_class_scope_highlight = 1 +let g:cpp_member_variable_highlight = 1 +let g:cpp_class_decl_highlight = 1 + +Plugin 'https://github.com/hdima/python-syntax.git' +let python_highlight_all = 1 + "注释插件 Plugin 'scrooloose/nerdcommenter' @@ -15,7 +27,6 @@ Plugin 'godlygeek/tabular' Plugin 'plasticboy/vim-markdown' Plugin 'suan/vim-instant-markdown' -Plugin 'VundleVim/Vundle.vim' Plugin 'Valloric/YouCompleteMe' set runtimepath+=~/.vim/bundle/YouCompleteMe