aboutsummaryrefslogtreecommitdiff
path: root/crates/rust-analyzer
diff options
context:
space:
mode:
authorAaron Loucks <[email protected]>2020-05-26 04:18:45 +0100
committerAaron Loucks <[email protected]>2020-05-26 04:18:45 +0100
commita047f10839d64813213c70ed60c37c0a99f232b2 (patch)
tree7a79d631ba9ed42ad0d6a1133c54976a65c82760 /crates/rust-analyzer
parent76fa498d6c69a8c26f074b15178256041bb53675 (diff)
Hover tooltip module name is monospace once again
The line separator is moved below the function signature to split regions between the docs. This is very similar to how IntelliJ displays tooltips. Adding an additional separator between the module name and function signature currently has rendering issues. Fixes #4594 Alternative to #4615
Diffstat (limited to 'crates/rust-analyzer')
-rw-r--r--crates/rust-analyzer/tests/heavy_tests/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/tests/heavy_tests/main.rs b/crates/rust-analyzer/tests/heavy_tests/main.rs
index b1bfc968a..405ddb362 100644
--- a/crates/rust-analyzer/tests/heavy_tests/main.rs
+++ b/crates/rust-analyzer/tests/heavy_tests/main.rs
@@ -756,5 +756,5 @@ pub fn foo(_input: TokenStream) -> TokenStream {
756 }); 756 });
757 757
758 let value = res.get("contents").unwrap().get("value").unwrap().to_string(); 758 let value = res.get("contents").unwrap().get("value").unwrap().to_string();
759 assert_eq!(value, r#""foo::Bar\n___\n\n```rust\nfn bar()\n```""#) 759 assert_eq!(value, r#""```rust\nfoo::Bar\n```\n\n```rust\nfn bar()\n```""#)
760} 760}