summaryrefslogtreecommitdiff
path: root/cli/lsp/mod.rs
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2023-09-26 21:57:14 +0100
committerGitHub <noreply@github.com>2023-09-26 21:57:14 +0100
commitcb154d6afa3d260e3b281404155d04806aa2014c (patch)
tree57a1aa4396dc482ef605cdb8b53ab4b535170057 /cli/lsp/mod.rs
parentdcb00bb9b8bf39f0caa6bb87b6b11e1344803bb9 (diff)
chore(lsp): bump tower-lsp to 0.20.0 (#20693)
Diffstat (limited to 'cli/lsp/mod.rs')
-rw-r--r--cli/lsp/mod.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index ed3971dc8..3ef19173b 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -42,6 +42,8 @@ pub async fn start() -> Result<(), AnyError> {
let builder = LspService::build(|client| {
language_server::LanguageServer::new(client::Client::from_tower(client))
})
+ // TODO(nayeemrmn): The extension has replaced this with the `deno.cache`
+ // command as of vscode_deno 3.21.0 / 2023.09.05. Remove this eventually.
.custom_method(lsp_custom::CACHE_REQUEST, LanguageServer::cache_request)
.custom_method(
lsp_custom::PERFORMANCE_REQUEST,
@@ -60,8 +62,7 @@ pub async fn start() -> Result<(), AnyError> {
.custom_method(
lsp_custom::VIRTUAL_TEXT_DOCUMENT,
LanguageServer::virtual_text_document,
- )
- .custom_method(lsp_custom::INLAY_HINT, LanguageServer::inlay_hint);
+ );
let builder = if should_send_diagnostic_batch_index_notifications() {
builder.custom_method(