]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain v8.2.4616
authorBram Moolenaar <Bram@vim.org>
Wed, 23 Mar 2022 21:36:27 +0000 (21:36 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 23 Mar 2022 21:36:27 +0000 (21:36 +0000)
commit98b7fe725ec342d28d7c86293098b233c57c4af9
treec67e0642a922e9d88aed6d7a7310cc057cbd48a8
parentac48506ac62b2ece523d5af6ea6c95b699d70b94
patch 8.2.4616: Vim9: Declarations in a {} block of a user command remain

Problem:    Vim9: Declarations in a {} block of a user command do not use Vim9
            rules if defined in a legacy script. (Yegappan Lakshmanan)
Solution:   Pretend the script is Vim9 script.
src/testdir/test_usercommands.vim
src/usercmd.c
src/version.c