Closed cactusbento closed 1 year ago
zls master only supports zig master https://github.com/zigtools/zls/issues/1020, if you want to use zig 0.10 you need to build zls from the 0.10 tag
the -Ddata_version
build option should probably be removed
I see. I'll stick with zls 0.10.0 for now.
Zig Version
0.10.1
Zig Language Server Version
0.11.0-dev.479+c28a59c
Steps to Reproduce
fn main() !void { // No completions provided by zls c.SetTarg }
[ERROR][2023-06-13 12:22:56] .../vim/lsp/rpc.lua:734 "rpc" "/home/cactus/.local/bin/zls" "stderr" "error: (translate_c): failed zig translate-c command:\n/usr/bin/zig translate-c --zig-lib-dir /usr/lib/zig --cache-dir /home/cactus/.cache/zls -lc --listen=- -I /usr/local/include -I /usr/include/x86_64-linux-gnu -I /usr/include /home/cactus/.cache/zls/cimport.h\nerror:error.Timeout\n\n" [ERROR][2023-06-13 12:22:56] .../vim/lsp/rpc.lua:734 "rpc" "/home/cactus/.local/bin/zls" "stderr" "error: (store ): failed to translate cimport: error.Timeout\n"