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
This is not a bug report, hence I'm not following the template.
I'm a fan of this colorscheme and it is my daily driver. Neovim's builtin LSP has a nice feature where (if the LSP) supports it, Neovim can highlight other references to the variables/declaration/... under the cursor. It is generally configured in the LSP on attach method like this:
ifclient.server_capabilities.documentHighlightProviderthenaucmd("CursorHold", function() vim.lsp.buf.document_highlight() end)
aucmd("CursorMoved", function() vim.lsp.buf.clear_references() end)
end
I was wondering why this did nothing for me, despite my LSP supporting document highlighting. Then I found out mhartington/oceanic-next lacks the required highlight groups. Manually adding the following works:
This is not a bug report, hence I'm not following the template.
I'm a fan of this colorscheme and it is my daily driver. Neovim's builtin LSP has a nice feature where (if the LSP) supports it, Neovim can highlight other references to the variables/declaration/... under the cursor. It is generally configured in the LSP on attach method like this:
I was wondering why this did nothing for me, despite my LSP supporting document highlighting. Then I found out
mhartington/oceanic-next
lacks the required highlight groups. Manually adding the following works:This could be a nice default to just add to
oceanic-next
, so I can remove it from my config. I've been thinking about adding a curl/underline:This works in my terminal, but I'm not sure how to go about verifying that the users' terminal supports this.
The text was updated successfully, but these errors were encountered: