Skip to content

Commit

Permalink
vim: Remove resolved_capabilities in favor of server_capabilities
Browse files Browse the repository at this point in the history
See [Neovim #17814](neovim/neovim#17814).
  • Loading branch information
Granddave committed Sep 30, 2022
1 parent e6341ea commit e0b14bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vim/.config/nvim/lua/plugins/nvim-lspconfig.lua
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ local on_attach = function(client, bufnr)
bufopts
)

if client.resolved_capabilities.document_highlight then
if client.server_capabilities["documentHighlightProvider"] then
vim.cmd [[
hi! LspReferenceRead cterm=bold ctermbg=Gray guibg=#555555
hi! LspReferenceText cterm=bold ctermbg=Gray guibg=#555555
Expand Down

0 comments on commit e0b14bb

Please sign in to comment.