From: Yegappan Lakshmanan Date: Mon, 24 Jul 2023 16:59:40 +0000 (-0700) Subject: Newline character is not removed from the completion info popup menu text X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=5c3494c71577efc757d86064c8fa53d5f3d6c804;p=vim-lsp.git Newline character is not removed from the completion info popup menu text --- 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 = {