diff options
-rw-r--r-- | ale_linters/java/eclipselsp.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ale_linters/java/eclipselsp.vim b/ale_linters/java/eclipselsp.vim index 2e472cfc..2bfec043 100644 --- a/ale_linters/java/eclipselsp.vim +++ b/ale_linters/java/eclipselsp.vim @@ -104,11 +104,13 @@ endfunction function! ale_linters#java#eclipselsp#Javaagent(buffer) abort let l:rets = [] let l:raw = ale#Var(a:buffer, 'java_eclipselsp_javaagent') + if empty(l:raw) return '' endif let l:jars = split(l:raw) + for l:jar in l:jars call add(l:rets, ale#Escape('-javaagent:' . l:jar)) endfor |