From 1deee2f27b071343d16f7bdf7602c9f27adc27d9 Mon Sep 17 00:00:00 2001 From: Ching Pei Yang Date: Fri, 15 Sep 2023 00:20:55 +0200 Subject: [PATCH] fix: add missing on_attach for jdtls --- modules/languages/java.nix | 2 ++ 1 file changed, 2 insertions(+) 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