zigtools / lsp-kit

The necessary building blocks to develop LSP implementations in Zig.

Home Page:https://zigtools.github.io/lsp-kit/

Repository from Github https://github.comzigtools/lsp-kitRepository from Github https://github.comzigtools/lsp-kit

CI codecov Documentation License: MIT

Zig LSP Kit

Provides the necessary building blocks to develop Language Server Protocol implementations in Zig.

Installation

Note

The default branch requires Zig 0.16.0-dev.1204+389368392 or later. Checkout the 0.15.x branch when using Zig 0.15

# Initialize a `zig build` project if you haven't already
zig init
# Add the `lsp_kit` package to your `build.zig.zon`
zig fetch --save git+https://github.com/zigtools/lsp-kit.git

You can then import the lsp module in your build.zig with:

const lsp = b.dependency("lsp_kit", .{}).module("lsp");
const exe = b.addExecutable(...);
exe.root_module.addImport("lsp", lsp);

About

The necessary building blocks to develop LSP implementations in Zig.

https://zigtools.github.io/lsp-kit/

License:MIT License


Languages

Language:Zig 100.0%