aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
diff options
context:
space:
mode:
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap')
-rw-r--r--crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap72
1 files changed, 15 insertions, 57 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
index 07e673852..b08efa522 100644
--- a/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
+++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__keywords_in_function2.snap
@@ -1,5 +1,5 @@
1--- 1---
2created: "2019-02-18T09:10:51.986894362Z" 2created: "2019-02-18T09:22:23.984740354Z"
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,92 +8,50 @@ expression: kind_completions
8 CompletionItem { 8 CompletionItem {
9 label: "else", 9 label: "else",
10 source_range: [92; 92), 10 source_range: [92; 92),
11 text_edit: TextEdit { 11 delete: [92; 92),
12 atoms: [ 12 insert: "else {$0}",
13 AtomTextEdit {
14 delete: [92; 92),
15 insert: "else {$0}"
16 }
17 ]
18 },
19 kind: Keyword 13 kind: Keyword
20 }, 14 },
21 CompletionItem { 15 CompletionItem {
22 label: "else if", 16 label: "else if",
23 source_range: [92; 92), 17 source_range: [92; 92),
24 text_edit: TextEdit { 18 delete: [92; 92),
25 atoms: [ 19 insert: "else if $0 {}",
26 AtomTextEdit {
27 delete: [92; 92),
28 insert: "else if $0 {}"
29 }
30 ]
31 },
32 kind: Keyword 20 kind: Keyword
33 }, 21 },
34 CompletionItem { 22 CompletionItem {
35 label: "if", 23 label: "if",
36 source_range: [92; 92), 24 source_range: [92; 92),
37 text_edit: TextEdit { 25 delete: [92; 92),
38 atoms: [ 26 insert: "if $0 {}",
39 AtomTextEdit {
40 delete: [92; 92),
41 insert: "if $0 {}"
42 }
43 ]
44 },
45 kind: Keyword 27 kind: Keyword
46 }, 28 },
47 CompletionItem { 29 CompletionItem {
48 label: "loop", 30 label: "loop",
49 source_range: [92; 92), 31 source_range: [92; 92),
50 text_edit: TextEdit { 32 delete: [92; 92),
51 atoms: [ 33 insert: "loop {$0}",
52 AtomTextEdit {
53 delete: [92; 92),
54 insert: "loop {$0}"
55 }
56 ]
57 },
58 kind: Keyword 34 kind: Keyword
59 }, 35 },
60 CompletionItem { 36 CompletionItem {
61 label: "match", 37 label: "match",
62 source_range: [92; 92), 38 source_range: [92; 92),
63 text_edit: TextEdit { 39 delete: [92; 92),
64 atoms: [ 40 insert: "match $0 {}",
65 AtomTextEdit {
66 delete: [92; 92),
67 insert: "match $0 {}"
68 }
69 ]
70 },
71 kind: Keyword 41 kind: Keyword
72 }, 42 },
73 CompletionItem { 43 CompletionItem {
74 label: "return", 44 label: "return",
75 source_range: [92; 92), 45 source_range: [92; 92),
76 text_edit: TextEdit { 46 delete: [92; 92),
77 atoms: [ 47 insert: "return;",
78 AtomTextEdit {
79 delete: [92; 92),
80 insert: "return;"
81 }
82 ]
83 },
84 kind: Keyword 48 kind: Keyword
85 }, 49 },
86 CompletionItem { 50 CompletionItem {
87 label: "while", 51 label: "while",
88 source_range: [92; 92), 52 source_range: [92; 92),
89 text_edit: TextEdit { 53 delete: [92; 92),
90 atoms: [ 54 insert: "while $0 {}",
91 AtomTextEdit {
92 delete: [92; 92),
93 insert: "while $0 {}"
94 }
95 ]
96 },
97 kind: Keyword 55 kind: Keyword
98 } 56 }
99] 57]