You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document highlight request is sent from the client to the server to resolve a document highlights for a given text document position. For programming languages this usually highlights all references to the symbol scoped to this file. However we kept ‘textDocument/documentHighlight’ and ‘textDocument/references’ separate requests since the first one is allowed to be more fuzzy. Symbol matches usually have a DocumentHighlightKind of Read or Write whereas fuzzy or textual matches use Textas the kind.
If it is a location where it's being written to the found reference then it should be highlighted with LspReferenceWrite, if it's being read from LspReferenceRead, and if it's unclear it's LspReferenceText
@samhh Thanks again for your contribution and example implementation. I guess this has been implemented in the meantime through #284 and the LspReferenceRead syntax group is now supported, next to other LSP features. Would be nice if you could quickly check if this solves this issue 😄
Hey @svengreb! Totally resonate with how the outside world can affect the velocity of open source contributions. Certainly focus on you and your life first.
In my case I've moved on from Nord to Kanagawa, so I'm no longer in a place to verify.
Nord doesn't appear to support
LspReferenceRead
(or its siblings, though I'm unclear when those are relevant).At the moment I'm doing this to hack in highlight support.
The text was updated successfully, but these errors were encountered: