-
Notifications
You must be signed in to change notification settings - Fork 54
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
Long comments should wrap to new lines #158
Comments
Yup! Beats me too. The closest I've come to debugging this is… for some reason,
Doesn't look like Neovim is autowrapping comments either — peep the |
My Are you sure you don't have this issue with other file types? |
Holy sheet! I found it 😭😭😭 vim-ledger/ftplugin/ledger.vim Line 23 in 7b97c87
On comment lines, it causes the behaviour in the OP. On transaction lines it actually hangs Vim. — I'm curious to see what it does in Neovim. How to test?
Example
|
I just tested this out in Neovim and it doesn't seem to be a problem. The lines don't wrap, but it doesn't hang either |
Hold that thought… In Neovim, |
NVM it's the same in Vim as well. I don't know why it breaks in Vim and not in Neovim But commenting out the |
When typing a comment, it wraps to the same line instead of wrapping to a new line.
Screen.Recording.2024-05-20.at.23.30.02.mov
I haven't done any extra customizations to the plugin. I am on the bleeding edge of Vim 9.
The text was updated successfully, but these errors were encountered: