diff options
author | Aleksey Kladov <[email protected]> | 2018-08-26 10:51:45 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-26 10:51:45 +0100 |
commit | 71722c047f96cb754c958c52591ca53f2a9c4d3c (patch) | |
tree | 981f344602900130acdae20509e5e0cb029f508b /crates/server/src/caps.rs | |
parent | ac226021cfd26a9332b5971f3e05118d77822af5 (diff) |
Simple scope completion
Diffstat (limited to 'crates/server/src/caps.rs')
-rw-r--r-- | crates/server/src/caps.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/server/src/caps.rs b/crates/server/src/caps.rs index ffebd9b47..98499bb05 100644 --- a/crates/server/src/caps.rs +++ b/crates/server/src/caps.rs | |||
@@ -4,6 +4,7 @@ use languageserver_types::{ | |||
4 | TextDocumentSyncOptions, | 4 | TextDocumentSyncOptions, |
5 | TextDocumentSyncKind, | 5 | TextDocumentSyncKind, |
6 | ExecuteCommandOptions, | 6 | ExecuteCommandOptions, |
7 | CompletionOptions, | ||
7 | }; | 8 | }; |
8 | 9 | ||
9 | pub fn server_capabilities() -> ServerCapabilities { | 10 | pub fn server_capabilities() -> ServerCapabilities { |
@@ -18,7 +19,10 @@ pub fn server_capabilities() -> ServerCapabilities { | |||
18 | } | 19 | } |
19 | )), | 20 | )), |
20 | hover_provider: None, | 21 | hover_provider: None, |
21 | completion_provider: None, | 22 | completion_provider: Some(CompletionOptions { |
23 | resolve_provider: None, | ||
24 | trigger_characters: None, | ||
25 | }), | ||
22 | signature_help_provider: None, | 26 | signature_help_provider: None, |
23 | definition_provider: Some(true), | 27 | definition_provider: Some(true), |
24 | type_definition_provider: None, | 28 | type_definition_provider: None, |