comparison src/testdir/test_vim9_cmd.vim @ 23477:95db03521b01 v8.2.2281

patch 8.2.2281: Vim9: compiled "wincmd" cannot be followed by bar Commit: https://github.com/vim/vim/commit/a11919fa44fb43e947ef7871f31096a79429ec8a Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 2 19:44:56 2021 +0100 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 https://github.com/vim/vim/issues/7599)
author Bram Moolenaar <Bram@vim.org>
date Sat, 02 Jan 2021 20:00:03 +0100
parents 5807e3958e38
children 872239543313
comparison
equal deleted inserted replaced
23476:b1591bf3ee33 23477:95db03521b01
866 866
867 set completefunc= 867 set completefunc=
868 bwipe! 868 bwipe!
869 enddef 869 enddef
870 870
871 def Test_wincmd()
872 split
873 var id1 = win_getid()
874 if true
875 try | wincmd w | catch | endtry
876 endif
877 assert_notequal(id1, win_getid())
878 close
879 enddef
880
871 " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker 881 " vim: ts=8 sw=2 sts=2 expandtab tw=80 fdm=marker