Skip to content

Commit 67c9a4a

Browse files
meckautozimu
authored andcommitted
Replace newlines in completion items details
1 parent 283dba5 commit 67c9a4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ impl VimCompleteItem {
599599
abbr,
600600
icase: Some(1),
601601
dup: Some(1),
602-
menu: lspitem.detail.clone().unwrap_or_default(),
602+
menu: lspitem.detail.clone().unwrap_or_default().replace("\n"," "),
603603
info,
604604
kind: lspitem.kind.map(|k| format!("{:?}", k)).unwrap_or_default(),
605605
snippet,

0 commit comments

Comments
 (0)