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

@@ -2112,6 +2112,9 @@ au BufNewFile,BufRead */.config/upstart/*.override setf upstart
" Vala
au BufNewFile,BufRead *.vala setf vala
" VDF
au BufNewFile,BufRead *.vdf setf vdf
" VDM
au BufRead,BufNewFile *.vdmpp,*.vpp setf vdmpp
au BufRead,BufNewFile *.vdmrt setf vdmrt