Skip to content

Commit ff94e63

Browse files
committed
Remove s:parse
1 parent 4ee0799 commit ff94e63

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

autoload/lsp/utils/text_edit.vim

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,6 @@ function! s:generate_move_end_cmd(line_pos, character_pos) abort
225225
return l:result
226226
endfunction
227227

228-
function! s:parse(text) abort
229-
" https://stackoverflow.com/questions/71417/why-is-r-a-newline-for-vim
230-
return substitute(a:text, '\(^\n|\n$\|\r\n\)', '\r', 'g')
231-
endfunction
232-
233228
function! s:preprocess_cmd(range) abort
234229
" preprocess by opening the folds, this is needed because the line you are
235230
" going might have a folding

0 commit comments

Comments
 (0)