ersa_lsp_core 0.2.0

LSP core for the GPC Scripting language. Intended to be used as a library.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use ersa_lsp_core::lsp;

#[tokio::main]
async fn main() {
    let args = std::env::args().collect::<Vec<_>>();
    if args.len() > 1 && args[1] == "--stdio" {
        lsp::LSP::start().await;
    } else {
        eprintln!("Usage: ersa_lsp --stdio");
    }
}