diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-11-28 14:16:09 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-11-28 14:16:09 -0800 |
commit | c4ef53a113a16da8cb9336b554caecec0a0d0c7e (patch) | |
tree | a6a23314e3aa4fb1bc656efb1c07d2da89a12e53 /lua | |
parent | 90da22317bc62abfd2be451b015dc06018413b42 (diff) |
Replace deprecated 'client.resolved_capabilities' with 'client.server_capabilities'
Diffstat (limited to 'lua')
-rw-r--r-- | lua/user/lsp/handlers.lua | 2 |
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) |