-
-
Notifications
You must be signed in to change notification settings - Fork 159
Can't break on textwidth #838
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
Comments
There is a bug with a fallback, so I'll look into that, but from where are you getting |
I pushed a fix that should properly fallback to the internal formatting for the lines that are not affected by the org formatting. Let me know if this fixes it for you. |
Thanks.
However, if I do I get this:
I'd expect one more space before |
Does it work when you do not use any https://neovim.io/doc/user/options.html#'formatexpr'
|
Yes. The three scenarios above were:
|
Describe the bug
By default, I can't break long lines using
jqG
.I tried changing and deleting the
formatexpr
. When I do, I can break long lines usingjqG
, but the result is not indented correctly.Sample document, before formatting:
try this:
result:
try this:
result:
try this:
result:
desired result:
Steps to reproduce
n/a
Expected behavior
n/a
Emacs functionality
n/a
Minimal init.lua
n/a
Screenshots and recordings
No response
OS / Distro
15.1.1
Neovim version/commit
0.10.2
Additional context
n/a
The text was updated successfully, but these errors were encountered: