]> granicus.if.org Git - vim/commit
patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function v8.2.3271
authorBram Moolenaar <Bram@vim.org>
Sun, 1 Aug 2021 19:19:43 +0000 (21:19 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 1 Aug 2021 19:19:43 +0000 (21:19 +0200)
commite4db17fb6e2d029aa2dddfca703ace9bcf0d85fd
tree8e74fd7a45bdc270a77992cc04293ee0c5a6b8de
parent0d4d9ee9bb18f89d76c67f037baebe2c2db545f0
patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function

Problem:    Vim9: cannot use :command or :au with a block in a :def function.
Solution:   Recognize the start of the block.
src/ex_docmd.c
src/proto/ex_docmd.pro
src/testdir/test_vim9_script.vim
src/usercmd.c
src/userfunc.c
src/version.c
src/vim9compile.c