Skip to content

Commit 2e782ba

Browse files
authored
Merge pull request #1184 from tsuyoshicho/update/20221023/repeat
Update repeat.{txt,jax}
2 parents 883aafb + ece2755 commit 2e782ba

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

doc/repeat.jax

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -615,6 +615,10 @@ Vim が起動した時、.vimrcを処理した後、'packpath' に含まれる "
615615
'runtimepath' に追加される。次に全てのプラグインがロードされる。
616616
これら2つのステップがどのように役立つかについては、|packload-two-steps| 参照。
617617

618+
.vimrc のパース中にパッケージの機能を呼び出せるようにするため、|:colorscheme|
619+
|autoload| はどちらも 'runtimepath' に加え 'packpath' 以下も同じように自動
620+
的に検索する。各詳細ドキュメントを参照のこと。
621+
618622
上記の例では "pack/foo/start/foobar/plugin/foo.vim" を見つけて
619623
"~/.vim/pack/foo/start/foobar" を 'runtimepath' に追加する。
620624

en/repeat.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,11 @@ When Vim starts up, after processing your .vimrc, it scans all directories in
628628
directories are added to 'runtimepath'. Then all the plugins are loaded.
629629
See |packload-two-steps| for how these two steps can be useful.
630630

631+
To allow for calling into package functionality while parsing your .vimrc,
632+
|:colorscheme| and |autoload| will both automatically search under 'packpath'
633+
as well in addition to 'runtimepath'. See the documentation for each for
634+
details.
635+
631636
In the example Vim will find "pack/foo/start/foobar/plugin/foo.vim" and adds
632637
"~/.vim/pack/foo/start/foobar" to 'runtimepath'.
633638

0 commit comments

Comments
 (0)