Skip to content

Commit d7d3845

Browse files
committed
Fix virtualedit=1 again
1 parent 7b567e1 commit d7d3845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoload/vsnip/session.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ function! s:Session.move(jump_point) abort
159159
call cursor(l:pos)
160160

161161
if mode()[0] !~# 'i'
162-
if (getcurpos()[2] - 1) > strlen(getline(getcurpos()[1]))
162+
if (getcurpos()[2] - 1) >= strlen(getline(getcurpos()[1]))
163163
call feedkeys('a', 'ni')
164164
else
165165
call feedkeys('i', 'ni')

0 commit comments

Comments
 (0)