pub fn serve<C, L>(language: L) -> Result<(), Box<dyn Error + Send + Sync>>Expand description
Runs a language server on stdio until the client sends shutdown +
exit.
This is the whole integration point:
fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
increparse_lsp::serve(MyLang { engine: build_engine() })
}