We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 460d01e commit e37422eCopy full SHA for e37422e
en/userfunc.txt
@@ -482,6 +482,10 @@ then define the function like this: >
482
echo "Done!"
483
endfunction
484
485
+If the file doesn't exist, Vim will also search in 'packpath' (under "start")
486
+to allow calling packages' functions from your .vimrc when the packages have
487
+not been added to 'runtimepath' yet (see |packages|).
488
+
489
The file name and the name used before the # in the function must match
490
exactly, and the defined function must have the name exactly as it will be
491
called. In Vim9 script the "g:" prefix must be used: >
0 commit comments