We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 745a33f commit 9847ca9Copy full SHA for 9847ca9
crates/emmylua_code_analysis/src/db_index/type/humanize_type.rs
@@ -305,7 +305,8 @@ fn humanize_multi_line_union_type(
305
if let Some(description) = description {
306
text.push_str(&format!(
307
" | {} -- {}\n",
308
- type_humanize_text, description
+ type_humanize_text,
309
+ description.replace('\n', " ")
310
));
311
} else {
312
text.push_str(&format!(" | {}\n", type_humanize_text));
0 commit comments