jdtls add commands

This commit is contained in:
fiplox 2023-01-19 16:54:47 +01:00
parent 6940af49d7
commit bfe551fc1d
1 changed files with 1 additions and 0 deletions

View File

@ -72,6 +72,7 @@ local on_attach = function(client, bufnr)
vim.lsp.codelens.refresh()
if JAVA_DAP_ACTIVE then
require('jdtls').setup_dap { hotcodereplace = 'auto' }
require('jdtls.setup').add_commands()
require('jdtls.dap').setup_dap_main_class_configs()
end
end