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 395c63e commit 3f6b3cfCopy full SHA for 3f6b3cf
autoload/lsp/ui/vim.vim
@@ -490,7 +490,7 @@ function! s:apply_text_edits(uri, text_edits) abort
490
let l:was_view = winsaveview()
491
492
set paste
493
- set selection=inclusive
+ set selection=exclusive
494
set virtualedit=onemore
495
496
execute l:cmd
@@ -640,7 +640,7 @@ function! s:generate_move_end_cmd(line_pos, character_pos) abort
640
if a:character_pos > 0
641
let l:result .= printf('%dl', a:character_pos) " move right until the character
642
else
643
- let l:result .= '$' " move most right
+ let l:result = printf('%dG$', a:line_pos - 1) " move most right
644
endif
645
return l:result
646
endfunction
0 commit comments