diff options
author | Jeremy A. Kolb <[email protected]> | 2019-01-25 17:51:36 +0000 |
---|---|---|
committer | Jeremy A. Kolb <[email protected]> | 2019-01-25 17:51:36 +0000 |
commit | 65885791165c42b48fa2deaed32c4f35c17c62f5 (patch) | |
tree | a89ba72dcfe621767a14c1af07df535f98eb3cfb /crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap | |
parent | bce0c6267aab2e8ca33a3e78a1081736abbc1373 (diff) |
Add module documentation support
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap')
-rw-r--r-- | crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap new file mode 100644 index 000000000..3db7119a7 --- /dev/null +++ b/crates/ra_ide_api/src/completion/snapshots/completion_item__mod_with_docs.snap | |||
@@ -0,0 +1,26 @@ | |||
1 | --- | ||
2 | created: "2019-01-25T17:49:28.949186500+00:00" | ||
3 | creator: [email protected] | ||
4 | expression: kind_completions | ||
5 | source: crates/ra_ide_api/src/completion/completion_item.rs | ||
6 | --- | ||
7 | [ | ||
8 | CompletionItem { | ||
9 | completion_kind: Reference, | ||
10 | label: "my", | ||
11 | kind: Some( | ||
12 | Module | ||
13 | ), | ||
14 | detail: None, | ||
15 | documentation: Some( | ||
16 | Documentation( | ||
17 | "Some simple\ndocs describing `mod my`." | ||
18 | ) | ||
19 | ), | ||
20 | lookup: None, | ||
21 | insert_text: None, | ||
22 | insert_text_format: PlainText, | ||
23 | source_range: [23; 25), | ||
24 | text_edit: None | ||
25 | } | ||
26 | ] | ||