From c4ef53a113a16da8cb9336b554caecec0a0d0c7e Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Mon, 28 Nov 2022 14:16:09 -0800 Subject: Replace deprecated 'client.resolved_capabilities' with 'client.server_capabilities' --- lua/user/lsp/handlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/user') diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index c670545..2c0b06c 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -93,7 +93,7 @@ end M.on_attach = function(client, bufnr) if client.name == "tsserver" then - client.resolved_capabilities.document_formatting = false + client.server_capabilities.document_formatting = false end lsp_keymaps(bufnr) lsp_highlight_document(client) -- cgit