From ba62f2e687973bcd20535285b7b4a0176b5231a6 Mon Sep 17 00:00:00 2001 From: Kyle Fuller Date: Fri, 2 Oct 2015 12:51:46 -0700 Subject: [PATCH] API Blueprint should use drafter --- plugin/syntastic/registry.vim | 2 +- .../apiblueprint/{snowcrash.vim => drafter.vim} | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) rename syntax_checkers/apiblueprint/{snowcrash.vim => drafter.vim} (83%) diff --git a/plugin/syntastic/registry.vim b/plugin/syntastic/registry.vim index 05f7cd53d..016d7621c 100644 --- a/plugin/syntastic/registry.vim +++ b/plugin/syntastic/registry.vim @@ -8,7 +8,7 @@ let g:loaded_syntastic_registry = 1 let s:_DEFAULT_CHECKERS = { \ 'actionscript': ['mxmlc'], \ 'ada': ['gcc'], - \ 'apiblueprint': ['snowcrash'], + \ 'apiblueprint': ['drafter'], \ 'applescript': ['osacompile'], \ 'asciidoc': ['asciidoc'], \ 'asm': ['gcc'], diff --git a/syntax_checkers/apiblueprint/snowcrash.vim b/syntax_checkers/apiblueprint/drafter.vim similarity index 83% rename from syntax_checkers/apiblueprint/snowcrash.vim rename to syntax_checkers/apiblueprint/drafter.vim index 90109c7f7..e0ebdfa72 100644 --- a/syntax_checkers/apiblueprint/snowcrash.vim +++ b/syntax_checkers/apiblueprint/drafter.vim @@ -1,5 +1,5 @@ "============================================================================ -"File: snowcrash.vim +"File: drafter.vim "Description: Syntax checking plugin for syntastic.vim "Maintainer: LCD 47 "License: This program is free software. It comes without any warranty, @@ -10,19 +10,19 @@ " "============================================================================ -if exists('g:loaded_syntastic_apiblueprint_snowcrash_checker') +if exists('g:loaded_syntastic_apiblueprint_drafter_checker') finish endif -let g:loaded_syntastic_apiblueprint_snowcrash_checker = 1 +let g:loaded_syntastic_apiblueprint_drafter_checker = 1 -if !exists('g:syntastic_apiblueprint_snowcrash_sort') - let g:syntastic_apiblueprint_snowcrash_sort = 1 +if !exists('g:syntastic_apiblueprint_drafter_sort') + let g:syntastic_apiblueprint_drafter_sort = 1 endif let s:save_cpo = &cpo set cpo&vim -function! SyntaxCheckers_apiblueprint_snowcrash_GetLocList() dict +function! SyntaxCheckers_apiblueprint_drafter_GetLocList() dict let makeprg = self.makeprgBuild({ 'post_args': '-u -l' }) let errorformat = @@ -58,7 +58,7 @@ endfunction call g:SyntasticRegistry.CreateAndRegisterChecker({ \ 'filetype': 'apiblueprint', - \ 'name': 'snowcrash'}) + \ 'name': 'drafter'}) let &cpo = s:save_cpo unlet s:save_cpo