Ⅰ. 插件描述
George Syntax Highlighting for vimⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'tpcstld/georgesyntaxhighlighting'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'tpcstld/georgesyntaxhighlighting'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'tpcstld/georgesyntaxhighlighting'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/tpcstld/georgesyntaxhighlighting
Ⅳ. 文档说明
George Syntax Highlighting
George Syntax Highlighting for vim
Setup
To install this custom syntax highlighting, copy the syntax/george.vim file to your .vim/syntax/ directory.
You can now activate the syntax highlighting via the vim command set syntax=george
For automatic file detection, copy the ftdetect/george.vim file to your .vim/ftdetect/ directory. It will mark all files ending in .grg as George files.
"Options"
You can uncomment (or comment) various pieces of the syntax to enable (or disable) various pieces of highlighting.
For example, operator highlighting is off by default, but you can uncomment the relevant lines to turn it on.
Your milage may vary. :P