Ⅰ. 插件描述
Highlighting for Mcproxy configuration filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'mcproxy/vim-mcproxy-conf-highlighting'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'mcproxy/vim-mcproxy-conf-highlighting'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'mcproxy/vim-mcproxy-conf-highlighting'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/mcproxy/vim-mcproxy_conf_highlighting
Ⅳ. 文档说明
## Highlighting for Mcproxy configuration files
This vim plugin highlights Mcproxy configuration files.
Install
Install this plugin with your favorite plugin-manager or manual with the following command:
git clone https://github.com/mcproxy/vim-mcproxy_conf_highlighting ~/.vim/vim-mcproxy_conf_highlighting
Filetype Detection
- It must be a .conf file
The file detection script searches for this pattern in the current file:
'pinstance.*==>'
Highlighting Sugar
Highlighting of meta description in comments with the following pattern:
# ~Description: very important text
# ~asdf: other important text
# ~foo: bar
Interaction with over Vim-Plugins
Nerdcommenter (Add this code snippet to your vimrc file):
let g:NERDCustomDelimiters = {
\ 'mcproxy': { 'left': '#' } \}