mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-30 05:45:12 +00:00
Better config name
This commit is contained in:
parent
3183ff3a7b
commit
cbd3717f2c
6 changed files with 19 additions and 16 deletions
|
@ -10,7 +10,7 @@ use rustc_hash::FxHashSet;
|
|||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
pub struct CompletionConfig {
|
||||
pub enable_postfix_completions: bool,
|
||||
pub disable_fuzzy_autoimports: bool,
|
||||
pub enable_autoimport_completions: 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,
|
||||
disable_fuzzy_autoimports: false,
|
||||
enable_autoimport_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