Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add symbol highlighting for Neovim LSP #312

Open
lwyw opened this issue Aug 8, 2022 · 0 comments
Open

Add symbol highlighting for Neovim LSP #312

lwyw opened this issue Aug 8, 2022 · 0 comments

Comments

@lwyw
Copy link

lwyw commented Aug 8, 2022

Suggest adding LspReference... for symbol highlighting in colors/onedark.vim

  " Neovim LSP (for versions < 0.5.1) {{{
  hi link LspDiagnosticsDefaultError DiagnosticError
  hi link LspDiagnosticsDefaultWarning DiagnosticWarn
  hi link LspDiagnosticsDefaultInformation DiagnosticInfo
  hi link LspDiagnosticsDefaultHint DiagnosticHint
  hi link LspDiagnosticsUnderlineError DiagnosticUnderlineError
  hi link LspDiagnosticsUnderlineWarning DiagnosticUnderlineWarn
  hi link LspDiagnosticsUnderlineInformation DiagnosticUnderlineInfo
  hi link LspDiagnosticsUnderlineHint DiagnosticUnderlineHint
  call s:h("LspReferenceText", { "bg": s:visual_grey })
  call s:h("LspReferenceRead", { "bg": s:visual_grey })
  call s:h("LspReferenceWrite", { "bg": s:visual_grey })
  " }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant