diff options
author | Kirill Bulatov <[email protected]> | 2020-12-07 22:46:56 +0000 |
---|---|---|
committer | Kirill Bulatov <[email protected]> | 2020-12-07 23:07:20 +0000 |
commit | 3183ff3a7b1fbcf3cb5379cf162a3d769a21be7a (patch) | |
tree | 5aa366155109b6f564f0f0a021fe2e43c0ac1bc9 /crates/completion/src/config.rs | |
parent | 9656ceb8963273047dab4ee9f3d0b19976890599 (diff) |
Disable the completion for no corresponding client resolve capabilities
Diffstat (limited to 'crates/completion/src/config.rs')
-rw-r--r-- | crates/completion/src/config.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/completion/src/config.rs b/crates/completion/src/config.rs index 487c1d0f1..8082ec9cb 100644 --- a/crates/completion/src/config.rs +++ b/crates/completion/src/config.rs | |||
@@ -10,7 +10,7 @@ use rustc_hash::FxHashSet; | |||
10 | #[derive(Clone, Debug, PartialEq, Eq)] | 10 | #[derive(Clone, Debug, PartialEq, Eq)] |
11 | pub struct CompletionConfig { | 11 | pub struct CompletionConfig { |
12 | pub enable_postfix_completions: bool, | 12 | pub enable_postfix_completions: bool, |
13 | pub enable_experimental_completions: bool, | 13 | pub disable_fuzzy_autoimports: bool, |
14 | pub add_call_parenthesis: bool, | 14 | pub add_call_parenthesis: bool, |
15 | pub add_call_argument_snippets: bool, | 15 | pub add_call_argument_snippets: bool, |
16 | pub snippet_cap: Option<SnippetCap>, | 16 | pub snippet_cap: Option<SnippetCap>, |
@@ -52,7 +52,7 @@ impl Default for CompletionConfig { | |||
52 | fn default() -> Self { | 52 | fn default() -> Self { |
53 | CompletionConfig { | 53 | CompletionConfig { |
54 | enable_postfix_completions: true, | 54 | enable_postfix_completions: true, |
55 | enable_experimental_completions: true, | 55 | disable_fuzzy_autoimports: false, |
56 | add_call_parenthesis: true, | 56 | add_call_parenthesis: true, |
57 | add_call_argument_snippets: true, | 57 | add_call_argument_snippets: true, |
58 | snippet_cap: Some(SnippetCap { _private: () }), | 58 | snippet_cap: Some(SnippetCap { _private: () }), |