8
14
Fork
You've already forked zig-mode
1

Set adaptive-fill-regexp and fix comment-start-skip. #572

Open
mychris wants to merge 1 commit from mychris/bugfix/fill-region into master
pull from: mychris/bugfix/fill-region
merge into: ziglang:master
ziglang:master
mychris commented 2025年04月12日 20:52:52 +02:00 (Migrated from github.com)
Copy link

Configures the adaptive-fill-regexp for zig-mode, such that other commands like fill-region can automatically determine a fill-prefix for comments.

Also, adds doc comment style comments to comment-start-skip, so these commands also work in doc comments.

Closes #86

Configures the adaptive-fill-regexp for zig-mode, such that other commands like fill-region can automatically determine a fill-prefix for comments. Also, adds doc comment style comments to comment-start-skip, so these commands also work in doc comments. Closes #86
precompute commented 2025年06月29日 17:10:18 +02:00 (Migrated from github.com)
Copy link

Ran into this issue and this fixes it. fill region works as it should after this patch.

To test, eval (fill-context-prefix (point) (point)) on a comment via M-:.

Ran into this issue and this fixes it. `fill region` works as it should after this patch. To test, eval `(fill-context-prefix (point) (point))` on a comment via `M-:`.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin mychris/bugfix/fill-region:mychris/bugfix/fill-region
git switch mychris/bugfix/fill-region
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ziglang/zig-mode!572
Reference in a new issue
ziglang/zig-mode
No description provided.
Delete branch "mychris/bugfix/fill-region"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?