-
Notifications
You must be signed in to change notification settings - Fork 181
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
Is there a way to change the inlay hint color? #111
Comments
Can you give some more information, such as:
If you are using neovim and treesitter you could use treesitter-playgroud to see what highlight grop the thing you want to change, and then use |
I'm using Neovim 0.8.1 without treesitter. |
Hi there, I think you will need to follow the advice above and try to figure out which highlight group that hint texts are. Once you know, you can try editing the colors for that specific highlight group. Unfortunately, it might happen that they share the same group with another syntax, in which case it'll be hard to differentiate them in vim. |
@tubzby assuming you're using rust-tools you can set the highlight group for the inlay e.g.
Then you can set the colour as normal, e.g.:
|
I'm using nvim with rust-analyzer, the text ": Cli" and ": u16" are inlay hint texts.
I prefer grey color for 'inlay hint color', is there a way to do that?
The text was updated successfully, but these errors were encountered: