mirror of
https://git.korhonen.cc/FunctionalHacker/dotfiles.git
synced 2024-11-18 21:27:42 +00:00
Nvim: Use default Java for LSP
This commit is contained in:
parent
f84f9b72f5
commit
e35ccc8ae2
@ -4,7 +4,7 @@ local workspace_dir = nvim_local_dir .. '/jdtls-workspaces/' .. project_name
|
||||
|
||||
require('jdtls').start_or_attach({
|
||||
cmd = {
|
||||
'/usr/lib/jvm/java-17-openjdk-amd64/bin/java', '-Declipse.application=org.eclipse.jdt.ls.core.id1',
|
||||
'/usr/bin/java', '-Declipse.application=org.eclipse.jdt.ls.core.id1',
|
||||
'-Dosgi.bundles.defaultStartLevel=4',
|
||||
'-Declipse.product=org.eclipse.jdt.ls.core.product',
|
||||
'-Dlog.protocol=true', '-Dlog.level=ALL', '-Xms1g',
|
||||
@ -17,4 +17,4 @@ require('jdtls').start_or_attach({
|
||||
}
|
||||
})
|
||||
|
||||
require('pluginconf.lsp').lsp_map_keys('jdtls', nil)
|
||||
require('plugins.lsp').lsp_map_keys('jdtls', nil)
|
||||
|
Loading…
Reference in New Issue
Block a user