Put the cursor at the end of the buffer after evaluations

This commit is contained in:
Ben Jackson 2020-07-18 18:09:25 +01:00
commit e885c95daa
3 changed files with 51 additions and 13 deletions

View file

@ -9,7 +9,9 @@ function! vimspector#test#signs#AssertCursorIsAtLineInBuffer( buffer,
call WaitForAssert( {->
\ assert_equal( a:line, line( '.' ), 'Current line' )
\ }, 10000 )
call assert_equal( a:column, col( '.' ), 'Current column' )
if a:column isnot v:null
call assert_equal( a:column, col( '.' ), 'Current column' )
endif
endfunction
function! vimspector#test#signs#AssertPCIsAtLineInBuffer( buffer, line ) abort