mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Disable the completion for no corresponding client resolve capabilities
This commit is contained in:
parent
9656ceb896
commit
3183ff3a7b
12 changed files with 89 additions and 165 deletions
|
@ -10,7 +10,7 @@ use rustc_hash::FxHashSet;
|
|||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct CompletionConfig {
|
||||
pub enable_postfix_completions: bool,
|
||||
pub enable_experimental_completions: bool,
|
||||
pub disable_fuzzy_autoimports: bool,
|
||||
pub add_call_parenthesis: bool,
|
||||
pub add_call_argument_snippets: bool,
|
||||
pub snippet_cap: Option<SnippetCap>,
|
||||
|
@ -52,7 +52,7 @@ impl Default for CompletionConfig {
|
|||
fn default() -> Self {
|
||||
CompletionConfig {
|
||||
enable_postfix_completions: true,
|
||||
enable_experimental_completions: true,
|
||||
disable_fuzzy_autoimports: false,
|
||||
add_call_parenthesis: true,
|
||||
add_call_argument_snippets: true,
|
||||
snippet_cap: Some(SnippetCap { _private: () }),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue