use tower_lsp::{LspService, Server};

#[tokio::main]
async fn main() {
    env_logger::init();

    let stdin = tokio::io::stdin();
    let stdout = tokio::io::stdout();

    let (service, socket) = LspService::new(logicaffeine_lsp::server::LogicAffeineServer::new);
    Server::new(stdin, stdout, socket).serve(service).await;
}
