diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-08 21:33:21 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-08 21:33:21 +0200 |
commit | daa2f36573db3e1df7eb1fdbc3a09a2815644048 (patch) | |
tree | 5c3b88df2975ada769c4e5c0d660be57be2a9d46 /src/testdir/sautest/autoload/sourced.vim | |
parent | 4a6d1b660fcea67931202527ad2852da55d26d49 (diff) |
patch 8.2.1398: autoload script sourced twice if sourced directlyv8.2.1398
Problem: Autoload script sourced twice if sourced directly.
Solution: Do not source an autoload script again. (issue #6644)
Diffstat (limited to 'src/testdir/sautest/autoload/sourced.vim')
-rw-r--r-- | src/testdir/sautest/autoload/sourced.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/testdir/sautest/autoload/sourced.vim b/src/testdir/sautest/autoload/sourced.vim index f69f00cb53..aac96b11ce 100644 --- a/src/testdir/sautest/autoload/sourced.vim +++ b/src/testdir/sautest/autoload/sourced.vim @@ -1,3 +1,4 @@ let g:loaded_sourced_vim += 1 -func! sourced#something() +func sourced#something() endfunc +call sourced#something() |