How to get themes to show deprecated and dead code from rust-analyzer #9635
Unanswered
willhansen
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Highlighting is done through tree-sitter rather than LSP so this information is not exposed for theming |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm reasonably certain that rust-analyzer can tell which functions have been marked with
#[deprecated]
, and which functions are dead code, but I'm having trouble trying to figure out how to have them displayed as part of a theme. Maybe strikethrough any uses of the deprecated functions, and grey out any dead code.Are there any public configurations where someone has this working?
Beta Was this translation helpful? Give feedback.
All reactions