zed/extensions/zig
Thorsten Ball da0d968a2c
zig: Use env if using zls from shell env (#10559)
This fixes the problem of the Zig extension picking up `zls` from the
shell env but `zls` then failing to launch because it cannot find `zig`.

Scenario in which this happens:
- `.envrc` in a project that sets `$PATH` up
- in that `$PATH` there's `zls` and `zig`
- Zed is started from Dock
- Project is opened
- Shell env from project directory is loaded and used to get to `zls`
- `zls` is then started, without that environment set on the process
- `zls` cannot find `zig`

Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>
2024-04-15 17:39:07 +02:00
..
languages/zig zig: Add support for .zig.zon files (#10012) 2024-04-01 10:02:09 -04:00
src zig: Use env if using zls from shell env (#10559) 2024-04-15 17:39:07 +02:00
Cargo.toml zig: Bump to v0.1.0 (#10481) 2024-04-12 12:30:29 -04:00
extension.toml zig: Bump to v0.1.0 (#10481) 2024-04-12 12:30:29 -04:00
LICENSE-APACHE Extract Zig support into an extension (#9893) 2024-03-27 20:56:30 -04:00