mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-24 02:45:04 +00:00
16 lines
432 B
Rust
16 lines
432 B
Rust
#[derive(Clone, Debug, PartialEq, Eq)]
|
|
pub struct CompletionConfig {
|
|
pub enable_postfix_completions: bool,
|
|
pub add_call_parenthesis: bool,
|
|
pub add_call_argument_snippets: bool,
|
|
}
|
|
|
|
impl Default for CompletionConfig {
|
|
fn default() -> Self {
|
|
CompletionConfig {
|
|
enable_postfix_completions: true,
|
|
add_call_parenthesis: true,
|
|
add_call_argument_snippets: true,
|
|
}
|
|
}
|
|
}
|