API Blueprint should use drafter
This commit is contained in:
parent
50d0315835
commit
ba62f2e687
@ -8,7 +8,7 @@ let g:loaded_syntastic_registry = 1
|
|||||||
let s:_DEFAULT_CHECKERS = {
|
let s:_DEFAULT_CHECKERS = {
|
||||||
\ 'actionscript': ['mxmlc'],
|
\ 'actionscript': ['mxmlc'],
|
||||||
\ 'ada': ['gcc'],
|
\ 'ada': ['gcc'],
|
||||||
\ 'apiblueprint': ['snowcrash'],
|
\ 'apiblueprint': ['drafter'],
|
||||||
\ 'applescript': ['osacompile'],
|
\ 'applescript': ['osacompile'],
|
||||||
\ 'asciidoc': ['asciidoc'],
|
\ 'asciidoc': ['asciidoc'],
|
||||||
\ 'asm': ['gcc'],
|
\ 'asm': ['gcc'],
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
"============================================================================
|
"============================================================================
|
||||||
"File: snowcrash.vim
|
"File: drafter.vim
|
||||||
"Description: Syntax checking plugin for syntastic.vim
|
"Description: Syntax checking plugin for syntastic.vim
|
||||||
"Maintainer: LCD 47 <lcd047 at gmail dot com>
|
"Maintainer: LCD 47 <lcd047 at gmail dot com>
|
||||||
"License: This program is free software. It comes without any warranty,
|
"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
|
finish
|
||||||
endif
|
endif
|
||||||
let g:loaded_syntastic_apiblueprint_snowcrash_checker = 1
|
let g:loaded_syntastic_apiblueprint_drafter_checker = 1
|
||||||
|
|
||||||
if !exists('g:syntastic_apiblueprint_snowcrash_sort')
|
if !exists('g:syntastic_apiblueprint_drafter_sort')
|
||||||
let g:syntastic_apiblueprint_snowcrash_sort = 1
|
let g:syntastic_apiblueprint_drafter_sort = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
|
|
||||||
function! SyntaxCheckers_apiblueprint_snowcrash_GetLocList() dict
|
function! SyntaxCheckers_apiblueprint_drafter_GetLocList() dict
|
||||||
let makeprg = self.makeprgBuild({ 'post_args': '-u -l' })
|
let makeprg = self.makeprgBuild({ 'post_args': '-u -l' })
|
||||||
|
|
||||||
let errorformat =
|
let errorformat =
|
||||||
@ -58,7 +58,7 @@ endfunction
|
|||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
\ 'filetype': 'apiblueprint',
|
\ 'filetype': 'apiblueprint',
|
||||||
\ 'name': 'snowcrash'})
|
\ 'name': 'drafter'})
|
||||||
|
|
||||||
let &cpo = s:save_cpo
|
let &cpo = s:save_cpo
|
||||||
unlet s:save_cpo
|
unlet s:save_cpo
|
Loading…
x
Reference in New Issue
Block a user