javac checker added fix for glob function
This commit is contained in:
parent
c290f297b9
commit
d4e0c2eee8
@ -180,7 +180,11 @@ function! SyntaxCheckers_java_GetLocList()
|
||||
" add classpathes to javac_classpath
|
||||
for path in split(g:syntastic_java_javac_classpath,"\n")
|
||||
if path != ''
|
||||
let ps = glob(path,0,1)
|
||||
try
|
||||
let ps = glob(path,0,1)
|
||||
catch
|
||||
let ps = split(glob(path,0),"\n")
|
||||
endtry
|
||||
if type(ps) == type([])
|
||||
for p in ps
|
||||
if p != '' | let javac_classpath = s:AddToClasspath(javac_classpath,p) | endif
|
||||
|
Loading…
Reference in New Issue
Block a user