glua_ls 1.0.27

Language server for Garry's Mod Lua (GLua).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::error::Error;

use lsp_server::Response;

use crate::context::ServerContext;

pub async fn on_response_handler(
    response: Response,
    server_context: &ServerContext,
) -> Result<(), Box<dyn Error + Sync + Send>> {
    server_context.send_response(response).await;
    Ok(())
}