summaryrefslogtreecommitdiff
path: root/cli/lsp/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/mod.rs')
-rw-r--r--cli/lsp/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index c2f3eda71..af6ef88c9 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -56,7 +56,10 @@ pub async fn start() -> Result<(), AnyError> {
lsp_custom::RELOAD_IMPORT_REGISTRIES_REQUEST,
LanguageServer::reload_import_registries_request,
)
- .custom_method(lsp_custom::TASK_REQUEST, LanguageServer::task_request)
+ .custom_method(lsp_custom::TASK_REQUEST, LanguageServer::task_definitions)
+ // TODO(nayeemrmn): Rename this to `deno/taskDefinitions` in vscode_deno and
+ // remove this alias.
+ .custom_method("deno/task", LanguageServer::task_definitions)
.custom_method(testing::TEST_RUN_REQUEST, LanguageServer::test_run_request)
.custom_method(
testing::TEST_RUN_CANCEL_REQUEST,