Ⅰ. 插件描述
Highlights C syntax like the elvis vi cloneⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/elvis-c-highlighting'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/elvis-c-highlighting'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/elvis-c-highlighting'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/elvis-c-highlighting
Ⅳ. 文档说明
UPDATE: Forgot to set the String and Number options to NONE. Have updated the script to do so.
I don't like a lot of colors. I like how elvis highlights. However, vim has a lot more to offer. So this script highlights just like elvis does. It uses white to highlight types statements and such... It uses nothing for Normal. If you're using Eterm, please uncomment the line to set Normal to grey since Eterm tends to have a brighter than usual Normal text. Xterm, however, uses a lighter white so the vim "white" is good for highlighting.
This scheme is easy on the eyes and a bit more professional. If you don't like a lot of colors, this one will suit you fine.