aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap62
1 files changed, 46 insertions, 16 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
index 5e7ec108c..8e66260f6 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function4.snap
@@ -1,5 +1,5 @@
1--- 1---
2created: "2019-02-18T07:29:59.696757543Z" 2created: "2019-02-18T09:10:52.039207401Z"
3creator: [email protected] 3creator: [email protected]
4source: crates/ra_ide_api/src/completion/completion_item.rs 4source: crates/ra_ide_api/src/completion/completion_item.rs
5expression: kind_completions 5expression: kind_completions
@@ -8,36 +8,66 @@ expression: kind_completions
8 CompletionItem { 8 CompletionItem {
9 label: "if", 9 label: "if",
10 source_range: [41; 41), 10 source_range: [41; 41),
11 kind: Keyword, 11 text_edit: TextEdit {
12 insert_text: "if $0 {}", 12 atoms: [
13 insert_text_format: Snippet 13 AtomTextEdit {
14 delete: [41; 41),
15 insert: "if $0 {}"
16 }
17 ]
18 },
19 kind: Keyword
14 }, 20 },
15 CompletionItem { 21 CompletionItem {
16 label: "loop", 22 label: "loop",
17 source_range: [41; 41), 23 source_range: [41; 41),
18 kind: Keyword, 24 text_edit: TextEdit {
19 insert_text: "loop {$0}", 25 atoms: [
20 insert_text_format: Snippet 26 AtomTextEdit {
27 delete: [41; 41),
28 insert: "loop {$0}"
29 }
30 ]
31 },
32 kind: Keyword
21 }, 33 },
22 CompletionItem { 34 CompletionItem {
23 label: "match", 35 label: "match",
24 source_range: [41; 41), 36 source_range: [41; 41),
25 kind: Keyword, 37 text_edit: TextEdit {
26 insert_text: "match $0 {}", 38 atoms: [
27 insert_text_format: Snippet 39 AtomTextEdit {
40 delete: [41; 41),
41 insert: "match $0 {}"
42 }
43 ]
44 },
45 kind: Keyword
28 }, 46 },
29 CompletionItem { 47 CompletionItem {
30 label: "return", 48 label: "return",
31 source_range: [41; 41), 49 source_range: [41; 41),
32 kind: Keyword, 50 text_edit: TextEdit {
33 insert_text: "return;", 51 atoms: [
34 insert_text_format: Snippet 52 AtomTextEdit {
53 delete: [41; 41),
54 insert: "return;"
55 }
56 ]
57 },
58 kind: Keyword
35 }, 59 },
36 CompletionItem { 60 CompletionItem {
37 label: "while", 61 label: "while",
38 source_range: [41; 41), 62 source_range: [41; 41),
39 kind: Keyword, 63 text_edit: TextEdit {
40 insert_text: "while $0 {}", 64 atoms: [
41 insert_text_format: Snippet 65 AtomTextEdit {
66 delete: [41; 41),
67 insert: "while $0 {}"
68 }
69 ]
70 },
71 kind: Keyword
42 } 72 }
43] 73]