Disable the completion for no corresponding client resolve capabilities
This commit is contained in:
@@ -182,7 +182,7 @@ impl Config {
|
||||
},
|
||||
completion: CompletionConfig {
|
||||
enable_postfix_completions: true,
|
||||
enable_experimental_completions: true,
|
||||
disable_fuzzy_autoimports: false,
|
||||
add_call_parenthesis: true,
|
||||
add_call_argument_snippets: true,
|
||||
..CompletionConfig::default()
|
||||
@@ -305,7 +305,7 @@ impl Config {
|
||||
};
|
||||
|
||||
self.completion.enable_postfix_completions = data.completion_postfix_enable;
|
||||
self.completion.enable_experimental_completions = data.completion_enableExperimental;
|
||||
self.completion.disable_fuzzy_autoimports = data.completion_disableFuzzyAutoimports;
|
||||
self.completion.add_call_parenthesis = data.completion_addCallParenthesis;
|
||||
self.completion.add_call_argument_snippets = data.completion_addCallArgumentSnippets;
|
||||
self.completion.merge = self.assist.insert_use.merge;
|
||||
@@ -508,7 +508,7 @@ config_data! {
|
||||
completion_addCallArgumentSnippets: bool = true,
|
||||
completion_addCallParenthesis: bool = true,
|
||||
completion_postfix_enable: bool = true,
|
||||
completion_enableExperimental: bool = true,
|
||||
completion_disableFuzzyAutoimports: bool = false,
|
||||
|
||||
diagnostics_enable: bool = true,
|
||||
diagnostics_enableExperimental: bool = true,
|
||||
|
||||
Reference in New Issue
Block a user