Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion doc/repeat.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*repeat.txt* For Vim バージョン 9.1. Last change: 2025 Oct 13
*repeat.txt* For Vim バージョン 9.1. Last change: 2025 Nov 01


VIM リファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -320,6 +320,12 @@ Vim script の書き方はユーザーマニュアルの41章|usr_41.txt|を参
`filetype plugin indent on` を全ての `packadd!` よりも
「後に」書く必要がある。

起動時に `!` が必要かをプログラム的に判断するには、
|v:vim_did_init| を確認する: 0 の場合は `!` を使用する
(|load-plugins| の処理を重複させないため)。それ以外の
場合は `!` なし (プラグインファイルの読み込みを強制す
るため。そうしないと自動では読み込まれない)。

また |pack-add| も参照。
{|+eval| 機能付きでコンパイルされたときのみ有効}

Expand Down
8 changes: 7 additions & 1 deletion en/repeat.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*repeat.txt* For Vim version 9.1. Last change: 2025 Oct 13
*repeat.txt* For Vim version 9.1. Last change: 2025 Nov 01


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -328,6 +328,12 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
you will need to write `filetype plugin indent on`
AFTER all `packadd!` commands.

To programmatically decide if `!` is needed during
startup, check |v:vim_did_init|: use `!` if 0 (to not
duplicate |load-plugins| step), no `!` otherwise (to
force load plugin files as otherwise they won't be
loaded automatically).

Also see |pack-add|.
{only available when compiled with |+eval|}

Expand Down