diff options
author | Bram Moolenaar <Bram@vim.org> | 2014-01-14 15:24:39 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2014-01-14 15:24:39 +0100 |
commit | 6d977d6c1c14fa3d8fba2576e461ecaf93dcd884 (patch) | |
tree | 0f01c5071a4f2faac85a8740570f4b13b01f9223 /src/testdir/sautest/autoload | |
parent | ca058dc71f53a4d08f553468e8fda5ea961b3f2b (diff) |
updated for version 7.4.149v7.4.149
Problem: Get E685 error when assigning a function to an autoload variable.
(Yukihiro Nakadaira)
Solution: Instead of having a global no_autoload variable, pass an autoload
flag down to where it is used. (ZyX)
Diffstat (limited to 'src/testdir/sautest/autoload')
-rw-r--r-- | src/testdir/sautest/autoload/footest.vim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testdir/sautest/autoload/footest.vim b/src/testdir/sautest/autoload/footest.vim new file mode 100644 index 0000000000..f467bc376d --- /dev/null +++ b/src/testdir/sautest/autoload/footest.vim @@ -0,0 +1,5 @@ +" Autoload script used by test55 and test60 +let footest#x = 1 +func footest#F() + return 0 +endfunc |