aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2021-09-10 08:11:50 -0600
committerGitHub <noreply@github.com>2021-09-10 07:11:50 -0700
commitc58ee4ef7f7aa6623be71368df9a19b0f7f93251 (patch)
tree923721b4d63ae99a68d9651bfdd449a563500fe4
parent329047b3dbd09f7d77cdc07002c532c230e44ddb (diff)
downloadrneovim-c58ee4ef7f7aa6623be71368df9a19b0f7f93251.tar.gz
rneovim-c58ee4ef7f7aa6623be71368df9a19b0f7f93251.tar.bz2
rneovim-c58ee4ef7f7aa6623be71368df9a19b0f7f93251.zip
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.
-rw-r--r--runtime/doc/repeat.txt8
1 files 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