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 a076247 commit d37e11eCopy full SHA for d37e11e
autoload/lsp.vim
@@ -611,13 +611,6 @@ function! lsp#get_whitelisted_servers(...) abort
611
return l:active_servers
612
endfunction
613
614
-function! s:requires_eol_at_eof(buf) abort
615
- let l:file_ends_with_eol = getbufvar(a:buf, '&eol')
616
- let l:vim_will_save_with_eol = !getbufvar(a:buf, '&binary') &&
617
- \ getbufvar(a:buf, '&fixeol')
618
- return l:file_ends_with_eol || l:vim_will_save_with_eol
619
-endfunction
620
-
621
function! s:get_text_document_text(buf) abort
622
return join(getbufline(a:buf, 1, '$'), "\n")
623
0 commit comments