mirror of
https://github.com/dag/vim-fish
synced 2024-09-16 13:44:02 +02:00
new-style syntastic checker, fixes #19
This commit is contained in:
parent
9afcc08d14
commit
0cca394cb0
1 changed files with 2 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue