Skip to content

Commit 2a7c826

Browse files
authored
fix(groovyls): use global executable instead of local jar #4392
1 parent d10ce09 commit 2a7c826

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

lsp/groovyls.lua

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,14 @@
2020

2121
---@type vim.lsp.Config
2222
return {
23-
cmd = {
24-
'java',
25-
'-jar',
26-
'groovy-language-server-all.jar',
27-
},
23+
-- When installed via mason
24+
cmd = { 'groovy-language-server' },
25+
-- If installed/built locally, please provide the correct filepath to Java.
26+
-- cmd = {
27+
-- 'java',
28+
-- '-jar',
29+
-- 'groovy-language-server-all.jar',
30+
-- },
2831
filetypes = { 'groovy' },
2932
root_markers = { 'Jenkinsfile', '.git' },
3033
}

0 commit comments

Comments
 (0)