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/test55.in | |
parent | ca058dc71f53a4d08f553468e8fda5ea961b3f2b (diff) | |
download | vim-6d977d6c1c14fa3d8fba2576e461ecaf93dcd884.zip |
updated for version 7.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/test55.in')
-rw-r--r-- | src/testdir/test55.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/testdir/test55.in b/src/testdir/test55.in index 991c4605c..4b20de403 100644 --- a/src/testdir/test55.in +++ b/src/testdir/test55.in @@ -282,6 +282,13 @@ let l = [0, 1, 2, 3] : $put =ps : endfor :endfor +:" :lockvar/islocked() triggering script autoloading +:set rtp+=./sautest +:lockvar g:footest#x +:unlockvar g:footest#x +:$put ='locked g:footest#x:'.islocked('g:footest#x') +:$put ='exists g:footest#x:'.exists('g:footest#x') +:$put ='g:footest#x: '.g:footest#x :" :" a:000 function argument :" first the tests that should fail |