Mercurial > vim
view src/testdir/test10.in @ 30705:12e6c7bae2a9 v9.0.0687
patch 9.0.0687: "export def" does not work in a nested block
Commit: https://github.com/vim/vim/commit/5ab300195b0831cbdba3ce349416a0e6a218e4ef
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Oct 7 17:26:22 2022 +0100
patch 9.0.0687: "export def" does not work in a nested block
Problem: "export def" does not work in a nested block.
Solution: Do not handle "export" with a separate function but in the same
command stack. (closes #11304)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Oct 2022 18:30:06 +0200 |
parents | 9d7914012b82 |
children |
line wrap: on
line source
Test that vim9script also works without the +eval feature. STARTTEST :/^START/+1,/^END/-1:w! Xvim9 :so Xvim9 ENDTEST START vim9script if 1 echo 'this is skipped without +eval' endif # colon required for a range :$-1,$w! test.out qa! END first line last line