Skip to content

Commit 0cca394

Browse files
committed
new-style syntastic checker, fixes #19
1 parent 9afcc08 commit 0cca394

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

syntax_checkers/fish/fish.vim

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,8 @@ if exists('g:loaded_syntastic_fish_fish_checker')
33
endif
44
let g:loaded_syntastic_fish_fish_checker = 1
55

6-
function! SyntaxCheckers_fish_fish_IsAvailable()
7-
return executable('fish')
8-
endfunction
9-
10-
function! SyntaxCheckers_fish_fish_GetLocList()
11-
let l:makeprg = syntastic#makeprg#build({'exe': 'fish',
12-
\'args': '--no-execute',
13-
\'subchecker': 'fish'})
6+
function! SyntaxCheckers_fish_fish_GetLocList() dict
7+
let l:makeprg = self.makeprgBuild({'args': '--no-execute'})
148
return SyntasticMake({'makeprg': l:makeprg,
159
\'errorformat': fish#errorformat()})
1610
endfunction

0 commit comments

Comments
 (0)