Skip to content

Commit 9c433cc

Browse files
authored
Merge pull request #618 from kazukazuinaina/update_repeat_jax
update repeat.{txt,jax}
2 parents 0e39230 + 9308df6 commit 9c433cc

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

doc/repeat.jax

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim バージョン 8.1. Last change: 2019 May 22
1+
*repeat.txt* For Vim バージョン 8.1. Last change: 2019 Jun 14
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -273,10 +273,15 @@ Vim script の書き方はユーザーマニュアルの41章|usr_41.txt|を参
273273
これは通常起動時に.vimrcが読み込まれた後に自動的に行わ
274274
れる。このコマンドはそれよりも前に行うことができる。
275275

276-
パッケージの読み込みは一度だけ行われる。よってこのコマ
277-
ンドを実行した後に読み込みは行われない。任意の ! が付
278-
けられた場合はすでに読み込みが行われていてもパッケージ
279-
を読み込む。
276+
パッケージの読み込みは一度だけ行われる。`:packloadall`
277+
を再度使用しても効果はない。任意の ! が付けられた場合
278+
はすでに読み込みが行われていてもパッケージを読み込む。
279+
280+
Note |vimrc| ファイル内に `:packloadall` が使われてい
281+
る場合、'runtimepath' オプションが更新され、後で
282+
'runtimepath' 内のすべてのプラグインが読み込まれる。こ
283+
れはそれらが再び読み込まれることを意味する。プラグイン
284+
はそれを正しく扱うことが期待される。
280285

281286
(スクリプトを読み込む際の)エラーは読み込んでいるスクリ
282287
プトの読み込みのみを中止させる。その他のプラグインは読

en/repeat.txt

+11-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim version 8.1. Last change: 2019 May 22
1+
*repeat.txt* For Vim version 8.1. Last change: 2019 Jun 14
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -280,9 +280,16 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
280280
after loading your .vimrc file. With this command it
281281
can be done earlier.
282282

283-
Packages will be loaded only once. After this command
284-
it won't happen again. When the optional ! is added
285-
this command will load packages even when done before.
283+
Packages will be loaded only once. Using
284+
`:packloadall` a second time will have no effect.
285+
When the optional ! is added this command will load
286+
packages even when done before.
287+
288+
Note that when using `:packloadall` in the |vimrc|
289+
file, the 'runtimepath' option is updated, and later
290+
all plugins in 'runtimepath' will be loaded, which
291+
means they are loaded again. Plugins are expected to
292+
handle that.
286293

287294
An error only causes sourcing the script where it
288295
happens to be aborted, further plugins will be loaded.

0 commit comments

Comments
 (0)