helix-mirror/helix-term
Rose Hogenson c7fc362a47 Handle single-line comment prefixes in :reflow.
I changed :reflow to use the DocumentFormatter object instead of the
textwrap crate. This allows using the same logic for soft wrap as
for :reflow. Because the logic is the same as for soft wrap, we end up
preserving all existing newlines, so it's more like "wrap" than reflow,
but I think this behavior makes sense anyway to avoid extraneous diffs.

Fixes #3332, #3622
2024-09-21 23:32:41 -07:00
..
src Handle single-line comment prefixes in :reflow. 2024-09-21 23:32:41 -07:00
tests Handle single-line comment prefixes in :reflow. 2024-09-21 23:32:41 -07:00
.gitignore Initial import. 2020-05-20 18:14:51 +09:00
build.rs chore: clean up clippy lints (#11377) 2024-08-01 06:39:46 +09:00
Cargo.toml build(deps): bump the rust-dependencies group with 4 updates (#11669) 2024-09-10 22:59:03 +09:00