Ⅰ. 插件描述
Additional function and class highlighting for C and C++Ⅱ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'slurps-mad-rips/cxx-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'slurps-mad-rips/cxx-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'slurps-mad-rips/cxx-syntax-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/slurps-mad-rips/cxx-syntax.vim
Ⅳ. 文档说明
Overview
This plugin contains files for additional highlighting for C++ and C.
Specifically, it adds highlighting of user defined functions (C++ only) and
each language's standard library.
The files contained within are released under the BSD 3-Clause License
Installation
cxx-syntax.vim is structured in such a way to be used as a git submodule and
managed via NeoBundle, Vundle, pathogen, or any of the other millions of
package managers that exist now. (Back in my day...)