diff options
Diffstat (limited to 'runtime/doc/userfunc.txt')
-rw-r--r-- | runtime/doc/userfunc.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/userfunc.txt b/runtime/doc/userfunc.txt index 5462fa952c..641c95b06e 100644 --- a/runtime/doc/userfunc.txt +++ b/runtime/doc/userfunc.txt @@ -388,6 +388,10 @@ file should then define the function like this: > echo "Done!" endfunction +If the file doesn't exist, Vim will also search in 'packpath' (under "start") +to allow calling packages' functions from your |vimrc| when the packages have +not been added to 'runtimepath' yet (see |packages|). + The file name and the name used before the # in the function must match exactly, and the defined function must have the name exactly as it will be called. |