Skip to content

Commit 34d677a

Browse files
committed
should not be list
1 parent d37e11e commit 34d677a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/lsp.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ function! s:text_changes(buf) abort
409409
let s:file_content[a:buf] = l:new_content
410410
else
411411
let l:new_content = getbufline(a:buf, 1, '$')
412-
let l:changes = {'text': l:new_content}
412+
let l:changes = {'text': join(l:new_content, "\n")}
413413
let s:file_content[a:buf] = l:new_content
414414
endif
415415
return [l:changes]

0 commit comments

Comments
 (0)