mirror of
https://github.com/vim/vim.git
synced 2025-10-05 05:34:07 -04:00
patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar
Problem: Vim9: compiled "wincmd" cannot be followed by bar. Solution: Check for bar after "wincmd". (closes #7599)
This commit is contained in:
@@ -868,4 +868,14 @@ def Test_insert_complete()
|
||||
bwipe!
|
||||
enddef
|
||||
|
||||
def Test_wincmd()
|
||||
split
|
||||
var id1 = win_getid()
|
||||
if true
|
||||
try | wincmd w | catch | endtry
|
||||
endif
|
||||
assert_notequal(id1, win_getid())
|
||||
close
|
||||
enddef
|
||||
|
||||
" vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker
|
||||
|
Reference in New Issue
Block a user