thrift.vim


Ⅰ. 插件描述

Clone of the thrift.vim in the main thrift repo

Ⅱ. 基本信息

创建日期:  2013-04-26
使用用户:  4
Github星:  0
插件作者:  Jake Kaufman

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'theevocater/thrift-vim-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'theevocater/thrift-vim-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'theevocater/thrift-vim-back-to-december'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

在终端中运行以下命令:
cd ~/.vim/bundle
git clone https://github.com/theevocater/thrift.vim

Ⅳ. 文档说明

This is just a mirror of
thrift.vim. Hopefully others find it useful.

I added an ftdetect and put things in folders to make it "just work".

This is from the 0.9.x release.

Installation

I use this with pathogen.vim.
Once you have that installed, you can simply:

cd ~/.vim/bundle
git clone git://github.com/theevocater/thrift.vim.git

Next time you open a thrift file it should be nicely syntax-d.

With submodules

If you keep your vim files in a git repo, install pathogen and:

cd ~/.vim
mkdir bundle
git submodule add git://github.com/theevocater/thrift.vim.git bundle/thrift/

添加新评论