Skip to content

Commit 0fc8f59

Browse files
authored
feat: feature get lombok from lombok-nightly package (#60)
1 parent 2951613 commit 0fc8f59

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lua/java-core/ls/servers/jdtls/init.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,10 @@ function M.get_config(opts)
2626
-- pick the OS at runtime because mason.nvim does that for me at the
2727
-- installation
2828
local jdtls_root = mason.get_shared_path('jdtls')
29+
local lombok_root = mason.get_shared_path('lombok-nightly')
30+
2931
local jdtls_config = path.join(jdtls_root, 'config')
30-
local lombok_path = path.join(jdtls_root, 'lombok.jar')
32+
local lombok_path = path.join(lombok_root, 'lombok.jar')
3133
local equinox_launcher =
3234
path.join(jdtls_root, 'plugins', 'org.eclipse.equinox.launcher.jar')
3335
local plugin_paths = plugins.get_plugin_paths(opts.jdtls_plugins)

0 commit comments

Comments
 (0)