Skip to content

Commit

Permalink
new-style syntastic checker, fixes dag#19
Browse files Browse the repository at this point in the history
  • Loading branch information
dag committed Nov 29, 2013
1 parent 9afcc08 commit 0cca394
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions syntax_checkers/fish/fish.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0cca394

Please sign in to comment.