]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet v8.2.4053
authorBram Moolenaar <Bram@vim.org>
Mon, 10 Jan 2022 18:08:00 +0000 (18:08 +0000)
committerBram Moolenaar <Bram@vim.org>
Mon, 10 Jan 2022 18:08:00 +0000 (18:08 +0000)
commitfe2ef0b2cda0b25c45bd9e320f8b77931ee8ef2e
tree715e146b05792ed452a39ffa97e1e89f68463689
parentee63031b572eb7aea27be4c7e3dafba0daaf681b
patch 8.2.4053: Vim9: autoload mechanism doesn't fully work yet

Problem:    Vim9: autoload mechanism doesn't fully work yet.
Solution:   Define functions and variables with their autoload name, add the
            prefix when calling a function, find the variable in the table of
            script variables.
src/evalvars.c
src/proto/scriptfile.pro
src/proto/vim9script.pro
src/scriptfile.c
src/structs.h
src/testdir/test_vim9_script.vim
src/userfunc.c
src/version.c
src/vim9script.c