Zig LSP codegen from the newly released, official metamodel! This actually good code replaces the much hackier lsp-typegen;
git clone
- Plop
metaModel.json
in this cloned repo. A copy can be found here. zig build
- Tada! You should now have a
zig-out/artifacts/lsp.zig
file that can be used to your heart's content! Enjoy :)