vim-patch:9.0.0479: in :def function all closures in loop get the sam… (#20220)

vim-patch:9.0.0479: in :def function all closures in loop get the same variables

Problem:    In a :def function all closures in a loop get the same variables.
Solution:   Use a separate list of variables for LOADOUTER and SAVEOUTER.
1aea184a0d

(note: patch description is wrong)
This commit is contained in:
Christian Clason
2022-09-16 17:52:08 +02:00
committed by GitHub
parent 6b2f0f43b5
commit e512d3ecf2
3 changed files with 5 additions and 0 deletions

View File

@@ -1021,6 +1021,7 @@ local extension = {
dsm = 'vb',
ctl = 'vb',
vbs = 'vb',
vdf = 'vdf',
vdmpp = 'vdmpp',
vpp = 'vdmpp',
vdmrt = 'vdmrt',