forked from aniani/vim
patch 8.2.1783: try-catch test fails
Problem: Try-catch test fails. Solution: Don't call win_enter(), only call enterering_window().
This commit is contained in:
@@ -227,7 +227,12 @@ func RunTheTest(test)
|
||||
|
||||
" Close any extra tab pages and windows and make the current one not modified.
|
||||
while tabpagenr('$') > 1
|
||||
let winid = win_getid()
|
||||
quit!
|
||||
if winid == win_getid()
|
||||
echoerr 'Could not quit window'
|
||||
break
|
||||
endif
|
||||
endwhile
|
||||
|
||||
while 1
|
||||
|
||||
Reference in New Issue
Block a user