Ⅰ. 插件描述
Make vim more colorfulⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'athom/more-colorful-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'athom/more-colorful-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'athom/more-colorful-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/athom/more-colorful.vim
Ⅳ. 文档说明
more-colorful.vim
Goal:
Make vim more colorful

Features:
Comparing with the default vim syntax file provided from Go Authors.
- Operators highlight
- Functions highlight
- Methods highlight
- Structs highlight
Tips:
To make it more colorful, I even hack the vim color scheme file fomr tomorrow-theme. Just named it yesterday :P. You can use any color scheme you like, but I believe the yesterday theme will better to display all colors for go.
Q: How to use yesterday theme for go files only?
A: Just add the below line in your .vimrc
colo Tomorrow-Night-Bright "default
autocmd! BufEnter,BufNewFile *.go colo yesterday
autocmd! BufLeave *.go colo Tomorrow-Night-BrightTODO:
- More languages syntax support
- More color scheme