vim-protobuf


Ⅰ. 插件描述

Vim syntax highlighting for Google's Protocol Buffers

Ⅱ. 基本信息

创建日期:  2012-07-22
使用用户:  88
Github星:  0
插件作者:  Brian Donovan

Ⅲ. 安装方法

使用Vundle管理器安装

在你的.vimrc下添加:
Plugin 'eventualbuddha/vim-protobuf-the-lucky-one'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall

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

使用NeoBundle管理器安装

在你的.vimrc下添加:
NeoBundle 'eventualbuddha/vim-protobuf-the-lucky-one'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall

使用VimPlug管理器安装

在你的.vimrc下添加:
Plug 'eventualbuddha/vim-protobuf-the-lucky-one'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall

使用Pathogen管理器安装

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

Ⅳ. 文档说明

# vim-protobuf

Vim syntax highlighting for Google's Protocol Buffers

Introduction

This plugin exists for the sole purpose of making it easy to install syntax highlighting for protocol buffer
as a pathogen bundle. If you are not already using Tim Pope's awesome Pathogen plugin you
should check it out.

The syntax highlighting code was shamelessly copied from Google Protocol Buffers v2.4.1

Installation

  • With Pathogen

    cd ~/.vim/bundle
    git clone git://github.com/uarun/vim-protobuf.git

  • With Vundle

    " .vimrc
    Bundle 'uarun/vim-protobuf'

添加新评论