annotate src/testdir/dos.vim @ 21558:1c4d4aa22b37 v8.2.1329

patch 8.2.1329: Vim9: cannot define global function inside :def function Commit: https://github.com/vim/vim/commit/38ddf333f6b2806b0ea2dd052ee1cd50dd7f4525 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jul 31 22:05:04 2020 +0200 patch 8.2.1329: Vim9: cannot define global function inside :def function Problem: Vim9: cannot define global function inside :def function. Solution: Assign to global variable instead of local. (closes https://github.com/vim/vim/issues/6584)
author Bram Moolenaar <Bram@vim.org>
date Fri, 31 Jul 2020 22:15:04 +0200
parents f0201deac2a2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Settings for test script execution
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Always use "COMMAND.COM", don't use the value of "$SHELL".
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 set shell=c:\COMMAND.COM shellquote= shellxquote= shellcmdflag=/c shellredir=>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " This is used only when the +eval feature is available.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 if executable("cmd.exe")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 set shell=cmd.exe
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7 endif
9501
f0201deac2a2 commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
8
f0201deac2a2 commit https://github.com/vim/vim/commit/89b10421ca1aea55acbafac1df93be4e20210ceb
Christian Brabandt <cb@256bit.org>
parents: 7
diff changeset
9 source setup.vim