Skip to content

Commit 322317d

Browse files
committed
Update autocmd.{txt,jax}
1 parent 7e3624c commit 322317d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

doc/autocmd.jax

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -856,6 +856,10 @@ OptionSet オプションが設定された後。パターンは長い(短縮
856856
ットするのは、プラグインの挙動を破壊するため、
857857
良くない。この自動コマンドの実行は `:noa` を使
858858
うことで抑制することができる。
859+
860+
自動コマンド内で |:set| を使用すると、イベント
861+
は再びトリガーされない。
862+
859863
*QuickFixCmdPre*
860864
QuickFixCmdPre QuickFixコマンドが実行される前 (|:make|,
861865
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,

en/autocmd.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,9 @@ OptionSet After setting an option. The pattern is
864864
plugin. You can always use `:noa` to prevent
865865
triggering this autocommand.
866866

867+
When using |:set| in the autocommand the event
868+
is not triggered again.
869+
867870
*QuickFixCmdPre*
868871
QuickFixCmdPre Before a quickfix command is run (|:make|,
869872
|:lmake|, |:grep|, |:lgrep|, |:grepadd|,

0 commit comments

Comments
 (0)