diff options
author | gfreezy <[email protected]> | 2019-01-19 14:02:50 +0000 |
---|---|---|
committer | gfreezy <[email protected]> | 2019-01-19 14:02:50 +0000 |
commit | d08e81cdd818dd3378c292767e15a38e6bbc6f6c (patch) | |
tree | e07b3363f21912ca7aaca4ae1dce482c0bcd6f85 /crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap | |
parent | fa43ef30f4f96fc8e4ea1f9c4492bcb07b3335ca (diff) |
refactor completions to use TextEdit instead of InsertText
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap new file mode 100644 index 000000000..5126c2bdc --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__dont_render_function_parens_if_already_call.snap | |||
@@ -0,0 +1,30 @@ | |||
1 | Created: 2019-01-19T11:53:16.799845+00:00 | ||
2 | Creator: [email protected] | ||
3 | Source: crates/ra_ide_api/src/completion/completion_item.rs | ||
4 | |||
5 | [ | ||
6 | CompletionItem { | ||
7 | completion_kind: Reference, | ||
8 | label: "main", | ||
9 | kind: Some( | ||
10 | Function | ||
11 | ), | ||
12 | detail: None, | ||
13 | lookup: None, | ||
14 | insert_text_format: PlainText, | ||
15 | text_edit: None, | ||
16 | additional_text_edits: None | ||
17 | }, | ||
18 | CompletionItem { | ||
19 | completion_kind: Reference, | ||
20 | label: "frobnicate", | ||
21 | kind: Some( | ||
22 | Function | ||
23 | ), | ||
24 | detail: None, | ||
25 | lookup: None, | ||
26 | insert_text_format: PlainText, | ||
27 | text_edit: None, | ||
28 | additional_text_edits: None | ||
29 | } | ||
30 | ] | ||