Ⅰ. 插件描述
Another C# Syntax Colorizer FileⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/cs-vim'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/cs-vim'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/cs-vim'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/cs.vim
Ⅳ. 文档说明
Another C# syntax colorizer, this one made by a friend and I over the course of Beta 2. Some things don't work correctly, or aren't done yet (#region folding, stuff like that), but it's fairly generic enough to have a nice base for adding things.
To add:
- error classes
- directionals (and call them that)
- operators
region folding
I'll copy the contents of the System classes and integrate coloring for that (probably by copying wholesale from vimscript #116) if someone really wants me to do so. Ain't Open Source great? =P