mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
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.
This commit is contained in:
@@ -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.
|
When [!] is included, all found files are sourced.
|
||||||
Else only the first found file is 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:
|
Other values:
|
||||||
START search under "start" in 'packpath'
|
START search only under "start" in 'packpath'
|
||||||
OPT search under "opt" in 'packpath'
|
OPT search only under "opt" in 'packpath'
|
||||||
PACK search under "start" and "opt" in
|
PACK search under "start" and "opt" in
|
||||||
'packpath'
|
'packpath'
|
||||||
ALL first use 'runtimepath', then search
|
ALL first use 'runtimepath', then search
|
||||||
|
Reference in New Issue
Block a user