10 unstable releases (4 breaking)
0.5.0 | Nov 16, 2020 |
---|---|
0.3.4 | Aug 17, 2020 |
0.3.3 | Jun 20, 2020 |
0.3.1 | Dec 31, 2019 |
0.3.0 | Nov 7, 2019 |
#62 in Text editors
17,605 downloads per month
Used in 5 crates
(4 directly)
25KB
530 lines
Description
This crate is a language server scaffold, exposing a synchronous crossbeam-channel based API. It handles protocol handshaking and parsing messages, while you control the message dispatch loop yourself.
See examples/goto_def.rs
for a minimal example LSP server that can only respond to the gotoDefinition
request. To use the example, execute it and then send an initialize
request.
Dependencies
~1.1–1.9MB
~43K SLoC