install jdtls with mason

This commit is contained in:
Baipyrus 2024-07-28 22:04:34 +02:00
parent 811f2c71d9
commit 13b7af2302

View File

@ -217,12 +217,17 @@ return {
'markdownlint',
'isort',
'black',
'jdtls',
})
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
require('mason-lspconfig').setup {
handlers = {
function(server_name)
if server_name == 'jdtls' then
return
end
local server = servers[server_name] or {}
-- This handles overriding only values explicitly passed
-- by the server configuration above. Useful when disabling