summaryrefslogtreecommitdiff
path: root/cli/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/main.rs')
-rw-r--r--cli/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/main.rs b/cli/main.rs
index 3354f4399..9941d737a 100644
--- a/cli/main.rs
+++ b/cli/main.rs
@@ -470,8 +470,8 @@ async fn install_command(
tools::installer::install(flags, &module_url, args, name, root, force)
}
-async fn lsp_command() -> Result<(), AnyError> {
- lsp::start().await
+async fn lsp_command(parent_pid: Option<u32>) -> Result<(), AnyError> {
+ lsp::start(parent_pid).await
}
async fn lint_command(
@@ -1264,7 +1264,7 @@ fn get_subcommand(
} => {
install_command(flags, module_url, args, name, root, force).boxed_local()
}
- DenoSubcommand::Lsp => lsp_command().boxed_local(),
+ DenoSubcommand::Lsp { parent_pid } => lsp_command(parent_pid).boxed_local(),
DenoSubcommand::Lint {
files,
rules,