zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
To reproduce insert a period anywhere inside `foo` in ```zig test { foo; } ``` StackTrace lib/zig/std/debug.zig:226:14: 0x25cbab in std.debug.assert (zls) if (!ok) unreachable; // assertion failure ^ /usr/lib/zig/std/zig/ast.zig:109:15: 0x30fc0d...
``` thread 16548 panic: index out of bounds C:\cygwin64\home\kcbanner\kit\zls\src\analysis.zig:1624:5: 0x7ff7a03eaec7 in analysis.documentPositionContext (zls.obj) return block: { ^ C:\cygwin64\home\kcbanner\kit\zls\src\main.zig:1719:53: 0x7ff7a03b35c8 in processJsonRpc (zls.obj) done = extractErr(method_info[2](arena, id, request_obj, config)); ^ C:\cygwin64\home\kcbanner\kit\zls\src\main.zig:1962:27:...
> Notable language features that are not currently implemented include @cImport (from the README). Is this a feature `zls` eventually wants to have? If so, what would it take? Is...
generic functions should be able to have their type parameters recognized as types  current behavior is `T` being recognized as a regular symbol. this is shown in the blue...
Hello, I am having troubles making zls work with Kate currently, For some reason, with the configuration provided in the README.md, Kate does not seem to work with zls whenever...
OS Version: Big Sur 11.4 (20F71) Zig version: 132b18e2b ``` user@host zls % zig version 0.9.0-dev.466+132b18e2b ``` Version: 70cfba0 ``` user@host zls % git log commit 70cfba0eb92fc57558cd9736233d5515e70b24cd (HEAD -> master,...
I gonna start to develop a feature for zls. But this is my first time messing with lsp implementations. Any tips to test and debug?
https://user-images.githubusercontent.com/4250341/127779023-7ea827f2-0427-4e4a-b709-86971c73ca53.mp4 Sublime text 4, windows 10, latest main branch ZLS and Zig, ZLS config was ran to set it for Sublime Has this delay which is per import file, per...
:CocConfig { "languageserver": { "zig" : { "enable":true, "command": "/Users/kin/zig/zls/zig-out/bin/zls", "filetypes": ["zig"] } } } restart nvim e hello.zig no syntex highlight, no auto competion. no process found in "ps...
Using Windows. Ran into this problem using vulkan-zig, which generates a vk.zig file in the zig-cache directory and adds it as a package. Autocompletion/jump to definition does not work at...