diffguard-lsp 0.2.0

Language Server Protocol server for diffguard with diff-scoped diagnostics
Documentation
1
2
3
4
5
6
7
8
9
10
11
use anyhow::Result;
use lsp_server::Connection;

use diffguard_lsp::server;

fn main() -> Result<()> {
    let (connection, io_threads) = Connection::stdio();
    server::run_server(connection)?;
    io_threads.join()?;
    Ok(())
}