mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-07-14 11:24:38 +02:00
Update lua/lazyvim/plugins/extras/lang/java.lua
Co-authored-by: William Boman <william@redwill.se>
This commit is contained in:
parent
6efced7b9f
commit
0585eeac05
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ return {
|
||||||
opts = function()
|
opts = function()
|
||||||
local cmd = { vim.fn.exepath("jdtls") }
|
local cmd = { vim.fn.exepath("jdtls") }
|
||||||
if LazyVim.has("mason.nvim") then
|
if LazyVim.has("mason.nvim") then
|
||||||
local lombok_jar = LazyVim.get_pkg_path("jdtls", "/lombok.jar")
|
local lombok_jar = vim.fn.expand "$MASON/share/jdtls/lombok.jar"
|
||||||
table.insert(cmd, string.format("--jvm-arg=-javaagent:%s", lombok_jar))
|
table.insert(cmd, string.format("--jvm-arg=-javaagent:%s", lombok_jar))
|
||||||
end
|
end
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue