Skip to content

Conversation

@cljoly
Copy link
Contributor

@cljoly cljoly commented Jun 17, 2021

Add LspReferenceText, LspReferenceWrite and LspReferenceRead highlight
groups. These are required to use the function
vim.lsp.buf.document_highlight().

I’m not sure only underlining is the best option, as it is associated with errors as well.

screen_2021-06-17T23:05:00,917340423+01:00

I’ve considered using {fg = c.bg0, bg = c.orange}, as with IncSearch, but it is quite intrusive. You have put together this great colorscheme, so I’m sure you’ll pick something good for this highlight group!

Add LspReferenceText, LspReferenceWrite and LspReferenceRead highlight
groups. These are required to use the function
`vim.lsp.buf.document_highlight()`.
@navarasu navarasu merged commit 5015b32 into navarasu:master Jun 18, 2021
@navarasu navarasu added the enhancement New feature or request label Jun 18, 2021
@cljoly cljoly deleted the lsp-reference branch June 18, 2021 19:44
idjoo pushed a commit to idjoo/idjo.nvim that referenced this pull request Oct 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants