summaryrefslogtreecommitdiffstats
path: root/ftdetect/polyglot.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2017-03-23 13:21:01 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2017-03-23 13:21:01 +0100
commitef4435cffcc6e30d51feb76d34b9061b0f2e5550 (patch)
tree73b57f402b72c544dfbd5ecbdc76c685b78a5b65 /ftdetect/polyglot.vim
parentc2a7f363c66b198f5ca24a9482198b30551d7af5 (diff)
downloadvim-polyglot-2.15.0.tar.gz
vim-polyglot-2.15.0.zip
Add api blueprint support, closes #182v2.15.0
Diffstat (limited to 'ftdetect/polyglot.vim')
-rw-r--r--ftdetect/polyglot.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim
index 6ff09572..63248b95 100644
--- a/ftdetect/polyglot.vim
+++ b/ftdetect/polyglot.vim
@@ -1,4 +1,11 @@
augroup filetypedetect
+" apiblueprint:sheerun/apiblueprint.vim
+autocmd BufReadPost,BufNewFile *.apib set filetype=apiblueprint
+autocmd FileType apiblueprint set syntax=apiblueprint
+autocmd FileType apiblueprint set makeprg=drafter\ -l\ %
+augroup END
+
+augroup filetypedetect
" applescript:vim-scripts/applescript.vim
augroup END