aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer/src/to_proto.rs
diff options
context:
space:
mode:
authorLukas Wirth <[email protected]>2021-05-30 15:41:33 +0100
committerLukas Wirth <[email protected]>2021-05-31 14:14:56 +0100
commitfb7105a5801ab1d0ede830cd53bbc3ccbf0b5e2c (patch)
tree958c7a8548dcc6cfce25ace53476183d73b1460d /crates/rust-analyzer/src/to_proto.rs
parent4507382f2e66cd0e6498228bfdffb16769063b0f (diff)
Add config setting for self-on-the-fly
Diffstat (limited to 'crates/rust-analyzer/src/to_proto.rs')
-rw-r--r--crates/rust-analyzer/src/to_proto.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/rust-analyzer/src/to_proto.rs b/crates/rust-analyzer/src/to_proto.rs
index f5c8535a2..2b2ef2c60 100644
--- a/crates/rust-analyzer/src/to_proto.rs
+++ b/crates/rust-analyzer/src/to_proto.rs
@@ -1178,6 +1178,7 @@ mod tests {
1178 &ide::CompletionConfig { 1178 &ide::CompletionConfig {
1179 enable_postfix_completions: true, 1179 enable_postfix_completions: true,
1180 enable_imports_on_the_fly: true, 1180 enable_imports_on_the_fly: true,
1181 enable_self_on_the_fly: true,
1181 add_call_parenthesis: true, 1182 add_call_parenthesis: true,
1182 add_call_argument_snippets: true, 1183 add_call_argument_snippets: true,
1183 snippet_cap: SnippetCap::new(true), 1184 snippet_cap: SnippetCap::new(true),