Mercurial > vim
view src/testdir/test23.ok @ 25469:dcd45fe7fe2e v8.2.3271
patch 8.2.3271: Vim9: cannot use :command or :au with block in :def function
Commit: https://github.com/vim/vim/commit/e4db17fb6e2d029aa2dddfca703ace9bcf0d85fd
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Aug 1 21:19:43 2021 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 01 Aug 2021 21:30:03 +0200 |
parents | 30bdd2e4a6f9 |
children |
line wrap: on
line source
start test text test text test text test text test text test text test text test text test text test text test text test text test text test text x61 test text test text x60-x64 test text test text x78 5 test text test text o143 test text test text o140-o144 test text test text o41 7 test text test text \%x42 test text test text \%o103 test text test text [\x00] test text test text [\x00-\x10] test text test text [\x-z] test text test text [\u-z] xx xx a xx aaaaa xx a xx aaaaa xx a xx Aaa xx xx Aaaa xx xx Aaa xx xx foobar xA xx xx an A xx XX 9; YY 77; xyz bcd BB