Skip to content

Commit 0df0555

Browse files
authored
Merge pull request #267 from mnishz/repeat_for_Vim_8.1
Update repeat from Vim 8.0 to 8.1
2 parents 3d85220 + d4df19e commit 0df0555

File tree

2 files changed

+40
-2
lines changed

2 files changed

+40
-2
lines changed

doc/repeat.jax

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim バージョン 8.0. Last change: 2017 Jun 10
1+
*repeat.txt* For Vim バージョン 8.1. Last change: 2018 Mar 04
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -238,6 +238,10 @@ Vim script の書き方はユーザーマニュアルの41章|usr_41.txt|を参
238238
もしディレクトリ pack/*/opt/{name}/after が存在すれば、
239239
'runtimepath' の最後に追加される。
240240

241+
"pack/*/start" からのパッケージの読み込みがスキップさ
242+
れた場合、次のディレクトリが最初に検索される。
243+
pack/*/start/{name} ~
244+
241245
Note {name} はディレクトリの名前である。.vimファイルの
242246
名前ではない。以下のパターンにマッチする全てのファイル
243247
が読み込まれる。
@@ -256,6 +260,7 @@ Vim script の書き方はユーザーマニュアルの41章|usr_41.txt|を参
256260
トリのみ 'runtimepath' に追加される。これは.vimrcに書
257261
く場合は便利である。追加されたプラグインは初期化時に読
258262
み込まれる。|load-plugins|を参照。また|pack-add|も参照。
263+
{+eval 機能付きでコンパイルされたときのみ有効}
259264

260265
*:packl* *:packloadall*
261266
:packl[oadall][!] 'packpath' 以下の "start" ディレクトリ中の全パッケージ
@@ -280,6 +285,7 @@ Vim script の書き方はユーザーマニュアルの41章|usr_41.txt|を参
280285
プトの読み込みのみを中止させる。その他のプラグインは読
281286
み込まれる。
282287
|packages|を参照。
288+
{+eval 機能付きでコンパイルされたときのみ有効}
283289

284290
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
285291
スクリプトで使われている文字コードを宣言する。
@@ -792,6 +798,19 @@ NOTE: デバッグモードは未完成である。デバッグはVimの動作
792798
< Note これはファイルを読み込むときに実行されるコマンドに対して
793799
だけ働く。そのファイル中で定義される関数に対しては働かない。
794800

801+
:breaka[dd] expr {expression}
802+
{expression} の評価結果が異なる値となるときに常にブレークする
803+
ブレークポイントを設定する。例: >
804+
:breakadd expr g:lnum
805+
806+
< これはグローバル変数の lnum が変化するときに常にブレークする。
807+
Note: |script-variable| を監視する場合、スクリプトが切り替わっ
808+
たときにブレークする。これは、定義されたスクリプト内でのみ、そ
809+
のスクリプト変数が有効だからである。そしてそのスクリプトがいく
810+
つかのその他のスクリプトから呼び出される場合、その特定の変数が
811+
可視となったとき、もしくは再度アクセス不能となったときに常に停
812+
止する。
813+
795814
[lnum] はブレークポイントにする行番号である。Vimはその行かそれ以降で停止する。
796815
省略時すると1行目になる。
797816

en/repeat.txt

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*repeat.txt* For Vim version 8.0. Last change: 2017 Jun 10
1+
*repeat.txt* For Vim version 8.1. Last change: 2018 Mar 04
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -242,6 +242,10 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
242242
If the directory pack/*/opt/{name}/after exists it is
243243
added at the end of 'runtimepath'.
244244

245+
If loading packages from "pack/*/start" was skipped,
246+
then this directory is searched first:
247+
pack/*/start/{name} ~
248+
245249
Note that {name} is the directory name, not the name
246250
of the .vim file. All the files matching the pattern
247251
pack/*/opt/{name}/plugin/**/*.vim ~
@@ -261,6 +265,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
261265
loaded during initialization, see |load-plugins|.
262266

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

265270
*:packl* *:packloadall*
266271
:packl[oadall][!] Load all packages in the "start" directory under each
@@ -284,6 +289,7 @@ For writing a Vim script, see chapter 41 of the user manual |usr_41.txt|.
284289
An error only causes sourcing the script where it
285290
happens to be aborted, further plugins will be loaded.
286291
See |packages|.
292+
{only available when compiled with +eval}
287293

288294
:scripte[ncoding] [encoding] *:scripte* *:scriptencoding* *E167*
289295
Specify the character encoding used in the script.
@@ -802,6 +808,19 @@ DEFINING BREAKPOINTS
802808
< Note that this only works for commands that are executed when
803809
sourcing the file, not for a function defined in that file.
804810

811+
:breaka[dd] expr {expression}
812+
Sets a breakpoint, that will break whenever the {expression}
813+
evaluates to a different value. Example: >
814+
:breakadd expr g:lnum
815+
816+
< Will break, whenever the global variable lnum changes.
817+
Note if you watch a |script-variable| this will break
818+
when switching scripts, since the script variable is only
819+
valid in the script where it has been defined and if that
820+
script is called from several other scripts, this will stop
821+
whenever that particular variable will become visible or
822+
unaccessible again.
823+
805824
The [lnum] is the line number of the breakpoint. Vim will stop at or after
806825
this line. When omitted line 1 is used.
807826

0 commit comments

Comments
 (0)