Editor integration
The ligls binary implements the Language Server Protocol over standard input and output. Build it from the compiler repository:
bash
cargo build -p ligls --releaseConfigure the editor's Ligare language client to launch:
text
/absolute/path/to/ligare/target/release/liglsThe process environment must also contain the same standard-library path used by the compiler:
bash
LIGARE_STD_PATH=/absolute/path/to/ligare/libs/stdThe server provides diagnostics, formatting, semantic tokens, completion, and navigation for the parts of the language supported by the current compiler. Because it uses the compiler's module and standard-library discovery, a workspace opened in the editor should be checked with the same ligare.toml and environment.