ziglang / zig-mode

Zig mode for Emacs
GNU General Public License v3.0
163 stars 54 forks source link

Switch formatting to reformatter.el #51

Closed joachimschmidt557 closed 1 year ago

joachimschmidt557 commented 3 years ago

See #39 for the corresponding issue.

This changes some of the weird behavior which arises from using revert-buffer after formatting such as #49.

Of course, this massively changes formatting behavior for users used to the formatting functionality. For example, formatting on save is now handled by a new minor mode instead of a defcustom and a toggle function. This also adds a dependency on the reformatter package in MELPA.

Closes #39 Closes #61 Closes #49

joachimschmidt557 commented 1 year ago

See #75: I will merge the reformatter branch on the 1st of January 2023.