summaryrefslogtreecommitdiff
path: root/ale_linters/java
diff options
context:
space:
mode:
authorpuritys <puritys.chen@gmail.com>2020-03-26 07:54:12 +0000
committerpuritys <puritys.chen@gmail.com>2020-03-26 07:54:12 +0000
commit9edefa724b87805ed05246362173f2f5c6285793 (patch)
treed42e967e5cc01fbdc1665fe73450793beff1d5b3 /ale_linters/java
parentfa19bca80e742eb1ea8498bf48f75a3fb886c539 (diff)
downloadale-9edefa724b87805ed05246362173f2f5c6285793.zip
Fix code convention
Diffstat (limited to 'ale_linters/java')
-rw-r--r--ale_linters/java/eclipselsp.vim2
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