Veikka Tuominen
Veikka Tuominen
The `buildOnSave` option should handle this but it seems to be broken at the moment.
This was previously implemented in #66 but was reverted for breaking syntax highlighting in general #69
Works on my machine, can you provide more info?
> `which zig` is `/opt/homebrew/bin/zig` Hmm, is that a symlink? This might be a duplicate of #34.
Does homebrew install symlinks? If yes running `file /opt/homebrew/bin/zig` should give a path to the link target, can you try setting that as `zigPath` and seeing if formatting works then?
Do you have `zig.zigPath`, `zig.zls.path` and `zig.zls.enabled` set? Are you seeing any output from "Zig Language Server"?
And just to make sure, your `zig.zigPath` is set to that path? And plain `format document` (no `with`) works?
Are you also on macos?
Setup only requires answering two questions: (after #138 at least) * what `zig` to use - install zig - select path to zig - use zig in `PATH` * what...
A new version of the extension has been published, please try running through the setup with it.