LSP server based on Asai LSP
Capabilities:
- Diagnostics (only parse errors at the momment)
- DocumentSync
- Hover
- Inlay hints for tree addresses
- Go to definition for imports. For transcludes, see
https://todo.sr.ht/~jonsterling/forester/109
- Completion
- Semantic tokens: basics infrastructure is there, but requires
debugging.
New dependencies:
- ppx_yojson_conv, which depends on jane street's base...
- lsp, no additional dependencies
The LSP code was originally adapted from the Asai repo, which is
Apache-2.0 (with LLVM-exception) licensed. Thus, the files in
lib/language_server are dual-licensed with GPL and Apache licenses, and
the copyright is held by both the Forester and RedPRL developers.
authored by