Bug fix: wrong variable scope.
This commit is contained in:
parent
d3ded273d3
commit
e0396dcdc0
@ -172,6 +172,7 @@ function! s:CacheErrors(...)
|
|||||||
|
|
||||||
if !s:SkipFile()
|
if !s:SkipFile()
|
||||||
let active_checkers = 0
|
let active_checkers = 0
|
||||||
|
let names = []
|
||||||
for ft in s:CurrentFiletypes()
|
for ft in s:CurrentFiletypes()
|
||||||
if a:0
|
if a:0
|
||||||
let checker = s:registry.getChecker(ft, a:1)
|
let checker = s:registry.getChecker(ft, a:1)
|
||||||
@ -180,7 +181,6 @@ function! s:CacheErrors(...)
|
|||||||
let checkers = s:registry.getActiveCheckers(ft)
|
let checkers = s:registry.getActiveCheckers(ft)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let names = []
|
|
||||||
for checker in checkers
|
for checker in checkers
|
||||||
let active_checkers += 1
|
let active_checkers += 1
|
||||||
call syntastic#util#debug("CacheErrors: Invoking checker: " . checker.getName())
|
call syntastic#util#debug("CacheErrors: Invoking checker: " . checker.getName())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user