llogick/zls
My dev fork of the Zig Language Server
92defaee76b07487769ca352fd0ba95bc8b42a2f.tar.gz
a20dd1f11b10819a6f570f98b42e1c91e3704357.tar.gz
fe98e895ca3bd1b39965ab30f0f252f7b7e83ee6.tar.gz
refs
ZLS is a non-official implementation of the Language Server Protocol for Zig in Zig. It provides developers with IDE features in their editor.
The complete installation guide is available on the Zigtools website. It covers editor setup, prebuilt binaries and additional documentation.
Building ZLS requires a build of Zig master.
git clone https://github.com/zigtools/zls
cd zls
zig build -Doptimize=ReleaseSafe
When upgrading Zig, make sure to update ZLS too keep them in sync.
ZLS supports most language features, including simple type function support, using namespace, payload capture type resolution, custom packages, cImport and others. Support for comptime and semantic analysis is Work-in-Progress.
The following LSP features are supported:
zig fmt
sublime-zig-language
by @prime31src/data
to perform builtin autocompletionzig-lsp
by @xackusknown-folders
by @ziglibszls
by @zigtoolsWe'd like to take a second to thank all our awesome contributors and donators/backers/sponsors; if you have time or money to spare, consider partaking in either of these options - they help keep ZLS awesome for everyone!