https://github.com/zigtools/lsp-kit
The necessary building blocks to develop LSP implementations in Zig.
https://github.com/zigtools/lsp-kit
lsp zig zig-package
Last synced: 6 months ago
JSON representation
The necessary building blocks to develop LSP implementations in Zig.
- Host: GitHub
- URL: https://github.com/zigtools/lsp-kit
- Owner: zigtools
- License: mit
- Created: 2022-05-30T05:57:32.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-07-21T11:14:40.000Z (7 months ago)
- Last Synced: 2025-08-02T04:53:12.812Z (6 months ago)
- Topics: lsp, zig, zig-package
- Language: Zig
- Homepage: https://zigtools.github.io/lsp-kit/
- Size: 282 KB
- Stars: 68
- Watchers: 5
- Forks: 17
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/zigtools/lsp-kit/actions)
[](https://codecov.io/gh/zigtools/lsp-kit)
[](https://zigtools.github.io/lsp-kit)
[](https://opensource.org/licenses/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.15.0-dev.1160+e43617e68` or later. Checkout the `0.14.x` branch when using Zig 0.14
```bash
# 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:
```zig
const lsp = b.dependency("lsp_kit", .{}).module("lsp");
const exe = b.addExecutable(...);
exe.root_module.addImport("lsp", lsp);
```