fix(nvim): lspconfig for nil

nixos
Moritz Böhme 2023-08-16 16:43:35 +02:00
parent e0599018e2
commit 4a5b007e00
Signed by: moritz
GPG Key ID: 970C6E89EB0547A9
1 changed files with 4 additions and 0 deletions

View File

@ -13,6 +13,10 @@ capabilities.textDocument.foldingRange = {
dynamicRegistration = false,
lineFoldingOnly = true,
}
-- NOTE https://github.com/neovim/neovim/pull/22405
capabilities.didChangeWatchedFiles = {
dynamicRegistration = true,
}
local lspconfig = require("lspconfig")
local on_attach_def = function(client, bufnr)