From 06210f10ffaa0c290684844e4a19be5ae8c8ac3a Mon Sep 17 00:00:00 2001 From: ChenXiang <32534829+colorsakura@users.noreply.github.com> Date: Tue, 15 Aug 2023 23:38:27 +0800 Subject: [PATCH] fix: rename setup_handlers to handlers https://github.com/AstroNvim/astrolsp/commit/72c537e28bd4a29d6bbc9fd6dc183671c5c63424 --- lua/plugins/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/plugins/lsp.lua b/lua/plugins/lsp.lua index 8f7ac56..f21d1ea 100644 --- a/lua/plugins/lsp.lua +++ b/lua/plugins/lsp.lua @@ -40,7 +40,7 @@ return { -- clangd = { capabilities = { offsetEncoding = "utf-8" } }, }, -- customize how language servers are attached - setup_handlers = { + handlers = { -- a function without a key is simply the default handler, functions take two parameters, the server name and the configured options table for that server -- function(server, opts) require("lspconfig")[server].setup(opts) end