ziglang / zig-mode

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

Add optional ansi-coloration for the zig-fmt buffer #65

Closed tealeg closed 2 years ago

tealeg commented 2 years ago

This PR addresses issue #64

The fix is simply calling ansi-color-apply-on-region on the whole buffer. I've hidden this behind a variable that must be set to enable it, just in case anyone is really enjoying the other way ;-)

joachimschmidt557 commented 2 years ago

If you don't mind, I'll squash both commits together and merge.