summaryrefslogtreecommitdiff
path: root/lua/user
diff options
context:
space:
mode:
authorLouie Shprung <lshprung@scu.edu>2022-11-28 14:16:09 -0800
committerLouie Shprung <lshprung@scu.edu>2022-11-28 14:16:09 -0800
commitc4ef53a113a16da8cb9336b554caecec0a0d0c7e (patch)
treea6a23314e3aa4fb1bc656efb1c07d2da89a12e53 /lua/user
parent90da22317bc62abfd2be451b015dc06018413b42 (diff)
Replace deprecated 'client.resolved_capabilities' with 'client.server_capabilities'
Diffstat (limited to 'lua/user')
-rw-r--r--lua/user/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
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)