summaryrefslogtreecommitdiff
path: root/cli/lsp/mod.rs
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2020-12-08 11:36:13 +0100
committerGitHub <noreply@github.com>2020-12-08 11:36:13 +0100
commite94a18240e5b6312358f787c19dffd3006300a4b (patch)
treebe99df02a2851beea0ccec60321deefc46b0d465 /cli/lsp/mod.rs
parent8bf3e0f4c6980c0f3ed8b618062657b017a0f609 (diff)
feat(lsp): basic support for textDocument/completion (#8651)
Diffstat (limited to 'cli/lsp/mod.rs')
-rw-r--r--cli/lsp/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs
index c26c5d89e..e3092d815 100644
--- a/cli/lsp/mod.rs
+++ b/cli/lsp/mod.rs
@@ -382,6 +382,7 @@ impl ServerState {
handlers::handle_goto_definition,
)?
.on_sync::<lsp_types::request::HoverRequest>(handlers::handle_hover)?
+ .on_sync::<lsp_types::request::Completion>(handlers::handle_completion)?
.on_sync::<lsp_types::request::References>(handlers::handle_references)?
.on::<lsp_types::request::Formatting>(handlers::handle_formatting)
.on::<lsp_extensions::VirtualTextDocument>(