Skip to content
This repository was archived by the owner on Nov 26, 2025. It is now read-only.
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion zig-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ If given a SOURCE, execute the CMD on it."
(compilation-mode)
(when zig-return-to-buffer-after-format
(pop-to-buffer file-buffer))))
(revert-buffer :ignore-auto :noconfirm)))))))
(let ((active-minor-modes-list minor-mode-list))
(revert-buffer :ignore-auto :noconfirm :preserve-modes)
(setq minor-mode-list active-minor-modes-list))))))))
Comment on lines +161 to +163
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is nitpicky, but could you indent this with indent-tabs-mode off? It helps keep the indentation of this source consistent.

See also #65 (comment)


(defun zig-re-word (inner)
"Construct a regular expression for the word INNER."
Expand Down