fix(nvim): lspconfig for nil

This commit is contained in:
Moritz Böhme 2023-08-16 16:43:35 +02:00
parent e0599018e2
commit 4a5b007e00
Signed by: moritz
GPG key ID: 970C6E89EB0547A9

View file

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