From ef4435cffcc6e30d51feb76d34b9061b0f2e5550 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 23 Mar 2017 13:21:01 +0100 Subject: Add api blueprint support, closes #182 --- ftdetect/polyglot.vim | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ftdetect') diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 6ff09572..63248b95 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -1,3 +1,10 @@ +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 -- cgit v1.2.3