We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey thanks for this! I start out with:
//Hey this is a really really really really really really really long line.
And run fill-region on the line and get:
fill-region
The subsequent lines are incorrectly not commented.
Or another variation of it (before fill-region):
//Hey this is a really really really really really really really really really really //long line.
And after fill-region:
It doesn't preserve the comment markers in the right place.
It would also be great if this was supported for multiline strings. Emacs does the wrong thing in zig-mode if I have:
\\Hey this is a really really really really really really really really really really \\long line.
And I call fill-region on that:
I'd hope that it preserves the string like I'd hope it preserves the comment.
In bash-mode if you do fill-region on a commented section, it fills the region keeping the comment prefix correctly.
(before fill-region)
#Hey this is a really really really really really really really really really really #long line.
(after fill-region)
#Hey this is a really really really really really really really really #really really long line.
The text was updated successfully, but these errors were encountered:
I wish zig-mode worked well out the box, but filladapt-mode seems to work for me.
zig-mode
filladapt-mode
https://www.emacswiki.org/emacs/FillAdapt
Sorry, something went wrong.
No branches or pull requests
Hey thanks for this! I start out with:
And run
fill-region
on the line and get:The subsequent lines are incorrectly not commented.
Or another variation of it (before
fill-region
):And after fill-region:
It doesn't preserve the comment markers in the right place.
Tangent
It would also be great if this was supported for multiline strings. Emacs does the wrong thing in zig-mode if I have:
And I call
fill-region
on that:I'd hope that it preserves the string like I'd hope it preserves the comment.
Expected Behavior
In bash-mode if you do fill-region on a commented section, it fills the region keeping the comment prefix correctly.
(before fill-region)
(after fill-region)
The text was updated successfully, but these errors were encountered: