diff --git a/modules/languages/java.nix b/modules/languages/java.nix index 9bea591..f6fbff2 100644 --- a/modules/languages/java.nix +++ b/modules/languages/java.nix @@ -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