mirror of
https://github.com/Dummi26/mers.git
synced 2026-02-05 14:56:30 +01:00
make merslsp compile again (it's still buggy tho)
This commit is contained in:
@@ -252,7 +252,7 @@ impl LanguageServer for Backend {
|
||||
.iter()
|
||||
.map(|(_, _, t)| match t {
|
||||
Ok(t) => format!("\n- {t}"),
|
||||
Err(e) => format!("\n- {e}"),
|
||||
Err(e) => format!("\n- {}", e.display_notheme()),
|
||||
})
|
||||
.collect::<String>()
|
||||
),
|
||||
@@ -263,7 +263,7 @@ impl LanguageServer for Backend {
|
||||
Err(e) => Hover {
|
||||
contents: HoverContents::Markup(MarkupContent {
|
||||
kind: MarkupKind::PlainText,
|
||||
value: format!("{e}"),
|
||||
value: format!("{}", e.display_notheme()),
|
||||
}),
|
||||
range: None,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user