feat: add a basic lsp

This commit is contained in:
rvcas
2022-11-10 01:03:41 -05:00
committed by Lucas
parent e421b49ab2
commit e90a210537
7 changed files with 377 additions and 16 deletions

13
crates/cli/src/cmd/lsp.rs Normal file
View File

@@ -0,0 +1,13 @@
use miette::IntoDiagnostic;
#[derive(clap::Args)]
/// Start the Aiken language server
pub struct Args {
/// Run on stdio
#[clap(long)]
stdio: bool,
}
pub fn exec(_args: Args) -> miette::Result<()> {
aiken_lsp::start().into_diagnostic()
}

View File

@@ -1,6 +1,7 @@
pub mod build;
pub mod check;
pub mod fmt;
pub mod lsp;
pub mod new;
pub mod tx;
pub mod uplc;