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

Very long strings requires ENTER between each reveal #9

Open
lindhe opened this issue Feb 7, 2023 · 1 comment
Open

Very long strings requires ENTER between each reveal #9

lindhe opened this issue Feb 7, 2023 · 1 comment

Comments

@lindhe
Copy link

lindhe commented Feb 7, 2023

When the revealed string is very long (e.g. due to being deeply nested or just having very long words), it will wrap onto two lines in Vim's statusline. Unfortunately, that will cause Vim to wait for ENTER before one may continue. This requires me to press ENTER between each line when scrolling. Pretty annoying, to say the least. :)

image

I assume there's not much to do about this behaviour, since that's Vim's default behaviour. So it would be great if this plugin could be configured to truncate very long strings to fit within the current window width. If anyone has a cleverer way of fixing this, it would be much appreciated!

@lindhe lindhe changed the title Very long strings requires ENTER between each completion Very long strings requires ENTER between each reveal Feb 7, 2023
lindhe added a commit to lindhe/dotfiles that referenced this issue Jul 4, 2023
It's too broken to use with the [current bug](Einenlum/yaml-revealer#9).
Too bad. You will be missed. <3
@r10r
Copy link

r10r commented Jun 25, 2024

I can confirm this behaviour. I had to disable yaml-revealer because this makes editing YAML impossible. What about limiting the nesting level instead to reveal only the first n levels ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants