Closed alexheretic closed 4 years ago
rust-analyzer language server sends markdown hover text. This is displayed but not syntax highlighted.
If I take a empty rust project with the following main.rs code:
fn main() { let _foo = vec!["hello", "world"]; }
When I hover on _foo the language server provides the following textDocument/hover response
_foo
{ "contents": { "kind": "markdown", "value": "```rust\nVec<&str>\n```" }, "range": { "end": { "character": 12, "line": 1 }, "start": { "character": 8, "line": 1 } } }
The markdown is asking for rust highlighting but not getting it
Downstream: https://github.com/rust-lang/atom-ide-rust/issues/158
rust-analyzer language server sends markdown hover text. This is displayed but not syntax highlighted.
Example
If I take a empty rust project with the following main.rs code:
When I hover on
_foo
the language server provides the following textDocument/hover responseThe markdown is asking for rust highlighting but not getting it
Downstream: https://github.com/rust-lang/atom-ide-rust/issues/158