Implementation in Emacs
First of all, nice tool!
I've integrated this tool to Emacs with flycheck and flymake.
- https://github.com/flycheck/flycheck-ziglint
- https://github.com/flymake/flymake-ziglint
I wonder can we pass filename to ziglint? For example:
$ ziglint /path/to/project/src/main.zig
Thanks!
thank you for the kind words :) yeah that's totally doable
just double checked and realized the -file flag already exists 😄
When I tried it in Windows, but it doesn't work. 🤔
C:\Users\USERNAME\.zigmod\bin\ziglint.exe -file ./src/foo.zig
Did I do something wrong? BTW, no error/output at all.
no that's right, I'll double check it soon. I believe its currently blocked on https://github.com/nektro/ziglint/issues/24 which I'll be fixing during the upgrade to zig's imminent 0.12 release. apologies for the delay