summaryrefslogtreecommitdiff
path: root/ale_linters/java
diff options
context:
space:
mode:
authorJan Ouwens <jan.ouwens@gmail.com>2019-02-07 10:35:24 +0100
committerJan Ouwens <jan.ouwens@gmail.com>2019-02-07 11:20:18 +0100
commit5ce1e9b0b4c59457cdfb68be13216e162a6eab9e (patch)
tree9d6dd923c8f247042101cb2b92df93c7fa68a1fa /ale_linters/java
parent0b9c0c22009a991c16b08973025f9de9013838ed (diff)
downloadale-5ce1e9b0b4c59457cdfb68be13216e162a6eab9e.zip
Fixes javalsp linter
Diffstat (limited to 'ale_linters/java')
-rw-r--r--ale_linters/java/javalsp.vim4
1 files changed, 1 insertions, 3 deletions
diff --git a/ale_linters/java/javalsp.vim b/ale_linters/java/javalsp.vim
index 1436a52c..6329ab3c 100644
--- a/ale_linters/java/javalsp.vim
+++ b/ale_linters/java/javalsp.vim
@@ -1,7 +1,6 @@
" Author: Horacio Sanson <https://github.com/hsanson>
" Description: Support for the Java language server https://github.com/georgewfraser/vscode-javac
-call ale#Set('java_javalsp_jar', 'javacs.jar')
call ale#Set('java_javalsp_executable', 'java')
function! ale_linters#java#javalsp#Executable(buffer) abort
@@ -9,10 +8,9 @@ function! ale_linters#java#javalsp#Executable(buffer) abort
endfunction
function! ale_linters#java#javalsp#Command(buffer) abort
- let l:jar = ale#Var(a:buffer, 'java_javalsp_jar')
let l:executable = ale_linters#java#javalsp#Executable(a:buffer)
- return ale#Escape(l:executable) . ' -cp ' . l:jar . ' -Xverify:none org.javacs.Main'
+ return ale#Escape(l:executable) . ' -Xverify:none -m javacs/org.javacs.Main'
endfunction
call ale#linter#Define('java', {