fix(nvim): update a deprecated call
This commit is contained in:
parent
423ab28c21
commit
33f67b7499
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ M.attach = function(client, bufnr)
|
|||
buf_set_keymap('n', '<space>s', '<cmd>lua vim.lsp.buf.document_highlight()<CR>', opts)
|
||||
buf_set_keymap('n', '<space>ss', '<cmd>lua vim.lsp.buf.clear_references()<CR>', opts)
|
||||
|
||||
if client.resolved_capabilities.document_highlight then
|
||||
if client.server_capabilities.document_highlight then
|
||||
vim.cmd [[
|
||||
hi LspReferenceRead cterm=bold ctermbg=red guibg=LightYellow
|
||||
hi LspReferenceText cterm=bold ctermbg=red guibg=LightYellow
|
||||
|
|
Loading…
Add table
Reference in a new issue