fix: rename setup_handlers to handlers

72c537e28b
pull/1/head
ChenXiang 2023-08-15 23:38:27 +08:00 committed by GitHub
parent 4e9e8032ab
commit 06210f10ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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