new-style syntastic checker, fixes #19

This commit is contained in:
Dag Odenhall 2013-11-29 01:43:41 +01:00
parent 9afcc08d14
commit 0cca394cb0

View file

@ -3,14 +3,8 @@ if exists('g:loaded_syntastic_fish_fish_checker')
endif
let g:loaded_syntastic_fish_fish_checker = 1
function! SyntaxCheckers_fish_fish_IsAvailable()
return executable('fish')
endfunction
function! SyntaxCheckers_fish_fish_GetLocList()
let l:makeprg = syntastic#makeprg#build({'exe': 'fish',
\'args': '--no-execute',
\'subchecker': 'fish'})
function! SyntaxCheckers_fish_fish_GetLocList() dict
let l:makeprg = self.makeprgBuild({'args': '--no-execute'})
return SyntasticMake({'makeprg': l:makeprg,
\'errorformat': fish#errorformat()})
endfunction