Skip to content
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

Leap prompt is positioned after the 0.10 inlay_hints #228

Open
LarssonMartin1998 opened this issue May 20, 2024 · 2 comments
Open

Leap prompt is positioned after the 0.10 inlay_hints #228

LarssonMartin1998 opened this issue May 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@LarssonMartin1998
Copy link

When using the new inlay hints that dropped with 0.10, the prompt I get which allows me where to leap isn't positioned next to the jump point if the character is followed by inlay hints, then it is positioned after the inlay hints.

@ggandor
Copy link
Owner

ggandor commented May 31, 2024

This seems non-trivial to handle. Maybe we should just disable/enable inlay hints on LeapEnter/LeapLeave, as with certain editor options, e.g. conceallevel?

@LarssonMartin1998
Copy link
Author

This seems non-trivial to handle. Maybe we should just disable/enable inlay hints on LeapEnter/LeapLeave, as with certain editor options, e.g. conceallevel?

I agree, and I actually already did this in my personal config recently, however, I thought I'd still raise it here. Great minds think alike ;)

Here is my implementation that toggles inlay hints

@ggandor ggandor added the bug Something isn't working label Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants