02e57f5d59b2e8b27615ad11ca6b3e672c79f521
Switched to readAll and writeAll stream functions Disabled logs on non-debug builds Created freeDocument(doc), closeDocument(uri), called at appropriate sites Removed _ = expr; for void values Added and clarified some logging messages Simplified builtin_completion generation The JSON parser is now reused but reset after parsing a RPC Fix memory leak when closing a document (last mem. leak) Renamed leak_alloc to debug_alloc Removed catch return statements from main(), rely on try to also get stacktraces instead
zls - Zig Language Server
Zig Language Server (or zls for short) is a - you guessed it - language server for Zig! Based off of the code written by the great andersfr.
Installation
git clone https://github.com/SuperAuguste/zls
cd zls
zig build
Then, you can use the zls executable in an editor of your choice that has a Zig language server client!
Usage
Please, I beg you, please don't use this unless you're developing or testing it!
VSCode
Install the zig-lsc extension from here.
Description
Languages
Zig
99.9%