Skip to content

zigtools/zig-lsp-codegen

Repository files navigation

CI codecov Documentation License: MIT

Zig LSP Codegen

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

Installation

Note

The default branch requires Zig 0.15.0-dev.1018+1a998886c or later. Checkout the 0.14.x branch when using Zig 0.14

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

You can then import lsp_codegen in your build.zig with:

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

About

The necessary building blocks to develop LSP implementations in Zig.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Contributors 5

Languages