ziglang / zig-mode

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

README makes no mention of reformatter dependency #80

Closed lifelike closed 1 year ago

lifelike commented 1 year ago

Got an ugly error message when trying to load zig-mode:

File mode specification error: (file-error Cannot open load file Not a directory reformatter)

Turns out there is a dependency on emacs-reformatter. Only figured it out because I tried to run the tests and I noticed the script installed reformatter using elpa.

It would be helpful if the README could mention adding emacs-reformatter's reformatter.el to load-path before trying to load zig-mode.

joachimschmidt557 commented 1 year ago

Good point, I forgot to add a notice to the README about reformatter. I'll open up a PR for this soon.