make merslsp compile again (it's still buggy tho)

This commit is contained in:
Mark
2024-07-03 18:36:46 +02:00
parent 0e42202f2c
commit ac662c8e10
2 changed files with 4 additions and 4 deletions

View File

@@ -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,
},