-
-
Notifications
You must be signed in to change notification settings - Fork 157
feat(inlay-hints): add inlay hints toggle function #346
base: master
Are you sure you want to change the base?
Conversation
ooooh, this is exactly what I've been looking for! I'm not the maintainer, but I would add that updating this section of the readme would be useful. other than that, I think this is great. I'm already using your branch in my config. |
I am glad this works for you! Feel free to report if anything breaks, I'll try to patch this PR to fix that. About the documentation, you are absolutely correct - I think I was too focused on the actual functionality that I forgot to improve that. I'll do that tomorrow, but from the looks of it, this repo is pretty slow nowadays, so I am not expecting this to be merged anytime soon, which is unfortunate. |
Thanks everyone for the interest in this PR! I updated implementation, created an external command for toggle and addressed the documentation comment. Feel free to report regressions or/and add your suggestions for this issue here, it's been a very helpful feedback so far! |
I changed the PR name so it's clear what it's current implementation is doing. Originally I was thinking about also exposing |
I'm not sure if @simrat39 is active these days. I've been using https://github.com/lvimuser/lsp-inlayhints.nvim, which already has this option. It works perfectly with rust-tools. It also shows more information I think. |
Just wanted to chime in that this feature would be super useful as I'd like to be able to start with them disabled but have the ability to easily show them 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add another variable M.is_enabled
. Just need to fix the existing one. I've added the suggestions.
I've pulled this in https://github.com/MunifTanjim/rust-tools.nvim/tree/patched |
Damn would love this to be merged. |
How close is this to getting merged? |
@nico-mayora I don't want to be alarmist but I don't think the author has time for this project and there's absolutely no signs he will be back so it's probably easier to fork and cherry-pick changes that you want for yourself and use it. Alternatively we can wait (or find if it exists) for |
Closes #345