/apiblueprint.vim

This vim plugin brings syntax highlighting and linting for API Blueprint.

Primary LanguageVimLBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

apiblueprint.vim

This vim plugin brings syntax highlighting and linting for API Blueprint.

API Blueprint Plugin Screenshot

Usage

The plugin adds an apiblueprint file type along with an apiblueprint syntax.

Linting

Using syntastic, your API Blueprint can be linted on each save. For this, you will need to install both drafter and syntastic.

Apiary

You can use the apiary client with this plugin to load a blueprint from Apiary directly providing apiary client is installed and configured.

$ vim apiary:pollsapi

Refract

Providing you have drafter installed. You can use ctrl + b to generate a preview of the Refract structure for your API Blueprint in a split.

TagBar

If you have TagBar installed you can use it to list and jump to groups and resources.

Installation

With vim-plug (recommended)

Add:

Plug 'kylef/apiblueprint.vim'

To your .vimrc and run PlugInstall inside vim.

With Vundle

Add:

Plugin 'kylef/apiblueprint.vim'

To your .vimrc and run PluginInstall from within vim or vim +PluginInstall +qall from the command line

$ git clone https://github.com/kylef/apiblueprint.vim.git ~/.vim/bundle/apiblueprint.vim