-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Did you check the documentation?
- I have read all the docs
Is your feature request related to a problem? Please describe.
With inlay hints on, line length can be longer than expected and the minimap often hides the line. I want to toggle the minimap automatically when the cursor is/isn't on longer lines.
Describe the solution you'd like
I wrote the logic in my dotfiles here. But this code is not enough to work.
- My logic only works with
floattype minimap. - The width of minimap cannot be calculated when the window is not drawn. Yes, I know from it by
require("neominimap.config").float.minimap_width, but it lacks sign columns in minimaps. - Also the width of Neovim's sign columns + line number is difficult to know.
Can you show some more neat solution to do this?
Kapture.2024-12-13.at.17.44.43.mp4
Describe alternatives you've considered
;)
Additional context
No response
negz
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request