I have managed to setup Zig with ZLS support in VSCode. If I load up my project and start typing std. I don't get anything. There is also no syntax highlighting on fs in the line std.fs. However if I then 'Go To Definition' on @import("std") then I get completions for std. But not fs, I have to 'Go To Definition' on that first to get those.
This happens every launch. Please can someone help me figure out whether this is a settings issue with the VSCode extension, a configuration issue with ZLS, or something else?
Note: I have built my own ZLS from master to include a bug fix I wanted. My zig version is 0.11.0-dev.449+665eba93c, which is the same version I built ZLS with.