We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d37e11e commit 34d677aCopy full SHA for 34d677a
autoload/lsp.vim
@@ -409,7 +409,7 @@ function! s:text_changes(buf) abort
409
let s:file_content[a:buf] = l:new_content
410
else
411
let l:new_content = getbufline(a:buf, 1, '$')
412
- let l:changes = {'text': l:new_content}
+ let l:changes = {'text': join(l:new_content, "\n")}
413
414
endif
415
return [l:changes]
0 commit comments