Skip to content

Commit d848083

Browse files
thomasfaingnaertprabirshrestha
authored andcommitted
Fix newlines in popup window (#414)
1 parent f02bf20 commit d848083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp/ui/vim/output.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ function! s:append(data, lines) abort
237237

238238
return 'markdown'
239239
elseif type(a:data) == type({}) && has_key(a:data, 'kind')
240-
call add(a:lines, a:data.value)
240+
call extend(a:lines, split(a:data.value, '\n'))
241241

242242
return a:data.kind ==? 'plaintext' ? 'text' : a:data.kind
243243
endif

0 commit comments

Comments
 (0)