Hi, I’m maintainer of asdf-zig plugin, recently I add a feature to install zls, so next time when you install zig with:
asdf install zig 0.15.1
Both zig and zls would be installed, no need to worry about version mismatch!
$ cat .tool-versions
zig 0.15.1
$ zig version
0.15.1
$ zls version
0.15.0
3 Likes
gonzo
2
Hi, I tried just that but zls version still shows 0.14.0 (which I had installed from before).
I uninstalled all versions of zig and zls, and then ran asdf install zig 0.15.1 again. At the end of the logs I did see:
zig 0.15.1 installation was successful!
zls 0.15.1 also get installed!
But after that:
$ zig version
0.15.1
$ zls version
0.15.0
which is, to say the least, confusing.
Hi, thanks for pointing that out.
I made an fix for that. The log now should be like:
Zig 0.15.1 installation was successful!
ZLS 0.15.0, which is highly compatible with Zig 0.15.1, was also installed successfully!
1 Like