Переглянути джерело

nixpkgs/neovim: add missing LSP capabilities

Thomas Dy 1 місяць тому
батько
коміт
acf3cddb9a
1 змінених файлів з 2 додано та 0 видалено
  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