fix: add missing on_attach for jdtls

This commit is contained in:
Ching Pei Yang 2023-09-15 00:20:55 +02:00
parent ce1009db5f
commit 1deee2f27b

View file

@ -33,6 +33,8 @@ in {
vim.lsp.lspconfig.enable = true;
vim.lsp.lspconfig.sources.jdtls = ''
lspconfig.jdtls.setup {
capabilities = capabilities,
on_attach = default_on_attach,
cmd = ${
if isList cfg.lsp.package
then nvim.lua.expToLua cfg.lsp.package