Skip to content

Commit d37e11e

Browse files
committed
cosmetic change
1 parent a076247 commit d37e11e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

autoload/lsp.vim

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -611,13 +611,6 @@ function! lsp#get_whitelisted_servers(...) abort
611611
return l:active_servers
612612
endfunction
613613

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-
621614
function! s:get_text_document_text(buf) abort
622615
return join(getbufline(a:buf, 1, '$'), "\n")
623616
endfunction

0 commit comments

Comments
 (0)