From 5c3494c71577efc757d86064c8fa53d5f3d6c804 Mon Sep 17 00:00:00 2001 From: Yegappan Lakshmanan Date: Mon, 24 Jul 2023 09:59:40 -0700 Subject: [PATCH] Newline character is not removed from the completion info popup menu text --- autoload/lsp/markdown.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/lsp/markdown.vim b/autoload/lsp/markdown.vim index 529c395..3f89a94 100644 --- a/autoload/lsp/markdown.vim +++ b/autoload/lsp/markdown.vim @@ -420,7 +420,7 @@ def SplitLine(line: dict, indent: number = 0): list> return lines endif var cur_line: dict = { - text: line.text[: pos], + text: line.text[: pos - 1], props: [] } var next_line: dict = { -- 2.48.1