zls icon indicating copy to clipboard operation
zls copied to clipboard

A language server for Zig supporting developers with features like autocomplete and goto definition

Results 332 zls issues
Sort by recently updated
recently updated
newest added

Addresses #2040 but a change in Zig is required before it closes our bug: https://github.com/ziglang/zig/issues/21543#issuecomment-2381281698

### Zig Version 0.14.0-dev.1671+085cc54aa ### ZLS Version 0-14-0.dev ### Client / Code Editor / Extensions emacs eglot ### Steps to Reproduce and Observed Behavior Mistakenly thought this was a zig...

bug

This is a fairly new addition to the language (https://github.com/ziglang/zig/pull/21264) and it would be nice if zls would autocomplete these, and show some more information (like function parameters and doc...

enhancement

Some function signatures when you hover don't get indented if they are nested decls. This pr is to add the ability to format them. On hover before: ![image](https://github.com/user-attachments/assets/e304c05e-bc60-4c11-8f96-fd4da267711f) On hover...

Example: ```zig const std = @import("std"); pub fn main() !void { std.log.info("{}", .{""}); } ``` Output: ``` $ zig run foo.zig -freference-trace=12 /nix/store/li7vdsrycv9zgp0phkxgsgn9fayn7cx0-zig-0.14.0-dev.1371+5723fcaac/lib/std/fmt.zig:663:17: error: cannot format array without a specifier...

enhancement

### Zig Version 0.13.0 ### ZLS Version 0.13.0 ### Client / Code Editor / Extensions neovim 10.4 using zls via nvim-lspconfig ### Steps to Reproduce and Observed Behavior In neovim...

bug

Zig 0.14 is here: https://ziglang.org/download/0.14.0/release-notes.html

### Zig Version 0.14.0-dev.3367+1cc388d52 ### ZLS Version 0.14.0-dev.397+30b0da02 ### Client / Code Editor / Extensions Zed dev 0.175.2.r93.gd0a0303 d0a0303428bed88da0c3773740a9cd8b39d8910d ### Steps to Reproduce and Observed Behavior I want to implement...

bug

Preparatory work for peer type resolution with error unions Regression 1: link to error set is no longer included in "Go to ..." when hovering. Regression 2: given error set...