summaryrefslogtreecommitdiff
path: root/cli/lsp/mod.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-10-12 16:07:27 +0100
committerGitHub <noreply@github.com>2023-10-12 16:07:27 +0100
commit5dd010a4fbeb0602891ea537b98216b8ad7d27a7 (patch)
tree00686cddbe5de68262b9c4348e02df0c86bf8fc3 /cli/lsp/mod.rs
parenteaeb10cee123b8184148c957151be226fb865bd2 (diff)
feat(lsp): send "deno/didChangeDenoConfiguration" notifications (#20827)
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,