feat(lsp): basic support for textDocument/completion (#8651)

This commit is contained in:
Luca Casonato 2020-12-08 11:36:13 +01:00 committed by GitHub
parent 8bf3e0f4c6
commit e94a18240e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 287 additions and 4 deletions

View file

@ -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>(