• Stars
    star
    113
  • Rank 310,115 (Top 7 %)
  • Language
    Vim Script
  • License
    BSD 3-Clause "New...
  • Created over 10 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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 GenerateRefract function to generate a preview of the Refract structure for your API Blueprint in a split.

You can manually map this function to a keyboard shortcut. For example to ctrl+b:

autocmd FileType apiblueprint nnoremap <C-b> :call GenerateRefract()<cr>

TagBar

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

Snippets

The are snippets in the snipMate format, supported by many Vim snippet plug-ins.

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

With Pathogen

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

More Repositories

1

swiftenv

Swift Version Manager
Shell
1,979
star
2

Commander

Compose beautiful command line interfaces in Swift
Swift
1,530
star
3

Mockingjay

An elegant library for stubbing HTTP requests with ease in Swift
Swift
1,490
star
4

PathKit

Effortless path operations in Swift
Swift
1,453
star
5

JSONWebToken.swift

Swift implementation of JSON Web Token (JWT).
Swift
763
star
6

Spectre

BDD Framework and test runner for Swift projects and playgrounds
Swift
403
star
7

JSONSchema.swift

JSON Schema validator in Swift
Swift
274
star
8

URITemplate.swift

Swift implementation of URI Template (RFC6570)
Swift
199
star
9

dotfiles

kylef's dotfile
Vim Script
33
star
10

swiftenv-api

API for swiftenv to return the available versions of Swift
Python
25
star
11

draughtsman

API Blueprint Parser for Python 3
Python
23
star
12

changelog

A formal specification for changelog files and entries
18
star
13

goji

Command line JIRA client
Python
18
star
14

swiftenv-docker

This repository contains swiftenv images for Docker
Makefile
18
star
15

irctk

A Python IRC client library
Python
6
star
16

maintain

A unified interface to maintaining projects of any language.
Python
6
star
17

ucp

A simple and universal command line tool for capturing screenshots and uploading to the web.
Shell
5
star
18

redirector

Simple web server for HTTP redirecting from one domain to another.
Python
4
star
19

pygments-apiblueprint

An API Blueprint Lexer for Pygments
Python
3
star
20

refract.py

A Python library for interacting with Refract
Python
3
star
21

life

This repository is used as a personal issue tracker
2
star
22

homebrew-formulae

Ruby
1
star