-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Treesitter integration on hover actions #20
Comments
Hmm, that's strange - it works on my end (I know that's not a very helpful comment 😄) Your first screen shot looks like it's Neovim's built-in hover UI (there are no actions). vim.g.rustaceanvim = {
tools = {
hover_actions = {
replace_builtin_hover = true,
},
},
} I guess if you set that to I'll have to try and reproduce it... |
Can reproduce with Neovim 0.9.4. |
Neovim version (nvim -v)
v0.9.4
Operating system/version
Archlinux
Output of
:checkhealth ferris
Everything prints OK
How to reproduce the issue
First of all thank you for forking rust-tools, your approach to plugins is really nice, hopefully this fork will live long!
I found the repo following the bug where multiple instances of RA were spawned. Thanks for fixing that so fast!
I found a "bug" in the Rust HoverActions, previously on rust-tools, the syntax highlighting with themes and TreeSitter (correct me if I'm wrong) was used. Now when I hover functions the text seems plain and it's not parsed by the theme which uses TS.
Would be nice to maintain that as it's clearer when reading rust-docs.
Let me know if this is intended and there should be flagged as enhancement instead of bug.
Expected behaviour
Actual behaviour
The minimal config used to reproduce this issue.
Open a rust project and hover a documented function such as tracing_subscriber
The text was updated successfully, but these errors were encountered: