summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-16 15:47:09 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-16 15:47:09 +0100
commit1aea184a0dc558a222cc5bcbaad9ab0fd700c7b9 (patch)
treedcade17fed1f30ad7effaf3ce50c5ab7a2898f57 /runtime
parent594f9e09cd68e6277b8aa08094405bc642c5792a (diff)
patch 9.0.0479: in :def function all closures in loop get the same variablesv9.0.0479
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.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/filetype.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/filetype.vim b/runtime/filetype.vim
index a27c3c71cb..aac17aad09 100644
--- a/runtime/filetype.vim
+++ b/runtime/filetype.vim
@@ -2108,6 +2108,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