Browse Source

nixpkgs/neovim: add missing LSP capabilities

Thomas Dy 8 months ago
parent
commit
acf3cddb9a
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .config/nixpkgs/neovim/lsp.lua

+ 2 - 0
.config/nixpkgs/neovim/lsp.lua

@@ -95,11 +95,13 @@ end
 
 if vim.fn.executable("nil") == 1 then
   nvim_lsp.nil_ls.setup({
+    capabilities = capabilities,
   });
 end
 
 if vim.fn.executable("jdtls") == 1 then
   nvim_lsp.jdtls.setup({
+    capabilities = capabilities,
     handlers = {
       ["$/progress"] = function()
         -- this is quite noisy so just disable it