fix(nvim): replace resolved_capabilities

Replace the deprecated `client.resolved_capabilities` with
`client.server_capabilities`
This commit is contained in:
Oliver Davies 2022-09-01 18:49:10 +01:00
parent 2b20cd1e59
commit 351c4d7814

View file

@ -54,7 +54,7 @@ local custom_attach = function(client)
telescope_mapper("<leader>dl", "diagnostics", nil, true)
-- Set autocommands conditional on server_capabilities
if client.resolved_capabilities.document_highlight then
if client.server_capabilities.document_highlight then
vim.cmd [[
augroup lsp_document_highlight
autocmd! * <buffer>