mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 13:51:31 +00:00
Gate autoimports begind experimental completions flag
This commit is contained in:
parent
5478aaebfe
commit
4c95c6e25d
4 changed files with 13 additions and 1 deletions
|
@ -9,6 +9,7 @@ use assists::utils::MergeBehaviour;
|
|||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct CompletionConfig {
|
||||
pub enable_postfix_completions: bool,
|
||||
pub enable_experimental_completions: bool,
|
||||
pub add_call_parenthesis: bool,
|
||||
pub add_call_argument_snippets: bool,
|
||||
pub snippet_cap: Option<SnippetCap>,
|
||||
|
@ -30,6 +31,7 @@ impl Default for CompletionConfig {
|
|||
fn default() -> Self {
|
||||
CompletionConfig {
|
||||
enable_postfix_completions: true,
|
||||
enable_experimental_completions: true,
|
||||
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