mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 00:21:38 +00:00
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:
@@ -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
|
||||
|
||||
@@ -1021,6 +1021,7 @@ local extension = {
|
||||
dsm = 'vb',
|
||||
ctl = 'vb',
|
||||
vbs = 'vb',
|
||||
vdf = 'vdf',
|
||||
vdmpp = 'vdmpp',
|
||||
vpp = 'vdmpp',
|
||||
vdmrt = 'vdmrt',
|
||||
|
||||
Reference in New Issue
Block a user