From c58ee4ef7f7aa6623be71368df9a19b0f7f93251 Mon Sep 17 00:00:00 2001 From: Gregory Anders Date: Fri, 10 Sep 2021 08:11:50 -0600 Subject: [PATCH] docs: clarify :runtime START, OPT behavior #15342 By default, the :runtime command searches "pack/*/start" in 'packpath' along with 'runtimepath'. Update the documentation to reflect this behavior. --- runtime/doc/repeat.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/runtime/doc/repeat.txt b/runtime/doc/repeat.txt index ed770434d5..61428aefb0 100644 --- a/runtime/doc/repeat.txt +++ b/runtime/doc/repeat.txt @@ -201,10 +201,12 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|. When [!] is included, all found files are sourced. Else only the first found file is sourced. - When [where] is omitted only 'runtimepath' is used. + When [where] is omitted, first 'runtimepath' is + searched, then directories under "start" in 'packpath' + are searched. Other values: - START search under "start" in 'packpath' - OPT search under "opt" in 'packpath' + START search only under "start" in 'packpath' + OPT search only under "opt" in 'packpath' PACK search under "start" and "opt" in 'packpath' ALL first use 'runtimepath', then search