瀏覽代碼

nixpkgs/neovim: add missing LSP capabilities

Thomas Dy 8 月之前
父節點
當前提交
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