#What versions does the latest version of ZLS support?
1 messages · Page 1 of 1 (latest)
Zig
0.10.1is older than ZLS0.11.0-dev.479+c28a59c. Update Zig to avoid unexpected behavior.
I guess there's this, but...I want to stay on 0.10.1...
Does this mean I need to downgrade ZLS?
(or should)
Latest ZLS is tailored to latest Zig
off the top of my head:
build system differences
translate-c differs
for loops
So I'd want to downgrade ZLS for the best experience with 0.10.1?
ye
I switched to ZLS 0.10.0, but then I get:
ZLS has been build with a newer version than you are using! This may cause unexpected issues.
And I don't see a ZLS 0.10.1...
yep there's no zls 0.10.1
we only work on master because that's all we have the bandwidth for, you could try and find the commit that matches the 0.10.1 release date
0.10.1 was released Jan 19, 2023 and this is the last zls commit on that date: https://github.com/zigtools/zls/commit/666e3b0e7cb8b6cdb0c13191c623012a244885d4
Latest zls works perfectly just fine for me with 0.10.1 - if anything is broken, I haven't noticed
using latest zls with zig 0.10.1 will work for simple cases but will fail with:
- modules will not be resolved
- completions of builtins will be as they are in zig master
- cimport completion
- im not sure exactly what happens around the incompatible
forsyntax but there is a chance that zls will "autofix" the old syntax to the new one breaking your codes compatibility with 0.10
Oh man, I would upgrade for cimport completion alone. Good to know. Thanks for listing these @vocal cape!