zls
zls copied to clipboard
A language server for Zig supporting developers with features like autocomplete and goto definition
When writing arguments to builtins like `@Type`, even when using inferred initialization syntax (i.e. `@Type(.{ .`), completions are now provided. This case is detected in exactly the same way as...
## Feeling out how disruptive this would be Ignoring missing semicolons (https://github.com/ziglang/zig/blob/eb5276c94eaab238551fdae9a2e77b0133e31cfb/lib/std/zig/Parse.zig#L876) solves ```zig const E = enum { foo, bar, baz, fn foo(e: E) void { switch (e) {.};...
zig version: 0.12.0-dev.1767+1e42a3de8 zls version: 0.11.0  Is there a plan to fix it?
## Remember to search before filing a new report It would be nice to be able to include a `zls.json` file within a project to maintain styling on a per...
A lot of the builtins have parameter names that carry no useful information or are trivial to deduce based on the builtin name.
Most lines are indented, ie `line[0] == ' '`(a space). Tokenizing `line` as the sole buffer returns location offsets relative/within to that line, but are expected to be indexes within...
The Neovim plugin has been archived and is no longer maintained. The Author and the official docs of neovim `lsp-config`[^1] recommends . Please update the site. [^1]: https://github.com/neovim/nvim-lspconfig/wiki/Autocompletion
If we were to support generating config options with structs then they could be structured like the following example for inlay hints. ```zig inlay_hints: ?struct { /// Enable type hints...
This makes it possible for users of the flake to override the Zig version which this is built with.
I recently saw #1764 which highlights deprecated symbols in the completion list and I think this is an awesome feature. Is it possible to extend that feature and highlight the...