Ⅰ. 插件描述
Vim syntax highlighting plugin for avro IDL filesⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'gurpreetatwal/vim-avro-without-it'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'gurpreetatwal/vim-avro-without-it'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'gurpreetatwal/vim-avro-without-it'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/gurpreetatwal/vim-avro
Ⅳ. 文档说明
# vim-avro
Syntax highlighting for Apache Avro IDL files
Installation
The plugin can be installed manually or by any standard vim plugin manager
- Add
Plug 'gurpreetatwal/vim-avro'to your.vimrc - Run
vim +PlugInstall +qa
- Add
- Add
Plugin 'gurpreetatwal/vim-avro'to your.vimrc - Run
vim +PluginInstall +qa
- Add
git clone https://github.com/gurpreetatwal/vim-avro ~/.vim/bundle/vim-avro
Manual
git clone https://github.com/gurpreetatwal/vim-avro /tmp/vim-avromv /tmp/vim-avro/ftdetect/* ~/.vim/ftdetectmv /tmp/vim-avro/syntax/* ~/.vim/syntax/
Credit
This repo is a combination of various different avro syntax files found on google.
The syntax file was originally pieced together by mtth