We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.10.1
0.11.0-dev.479+c28a59c
$ git clone https://github.com/zigtools/zls; cd zls $ ln -sr ~/.local/share/zig/0.11.0-3395/zig zig $ ./zig build -Ddata_version=0.10.1
const c = @cImport({ @cInclude("raylib.h"); }); fn main() !void { // No completions provided by zls c.SetTarg }
zls generates completions for use in nvim-lspconfig. Expect completion for c.SetTargetFps(60)
c.SetTargetFps(60)
(This works properly with the latest version of zig(0.11.0-3395))
zls attempts to generate completions for the C header, but fails with a timeout.
[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"
The text was updated successfully, but these errors were encountered:
zls master only supports zig master #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
-Ddata_version
Sorry, something went wrong.
I see. I'll stick with zls 0.10.0 for now.
No branches or pull requests
Zig Version
0.10.1
Zig Language Server Version
0.11.0-dev.479+c28a59c
Steps to Reproduce
Expected Behavior
zls generates completions for use in nvim-lspconfig.
Expect completion for
c.SetTargetFps(60)
(This works properly with the latest version of zig(0.11.0-3395))
Actual Behavior
zls attempts to generate completions for the C header, but fails with a timeout.
The text was updated successfully, but these errors were encountered: