File tree Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Expand file tree Collapse file tree 2 files changed +14
-2
lines changed Original file line number Diff line number Diff line change 1
- *diff.txt* For Vim バージョン 9.0. Last change: 2022 Jan 22
1
+ *diff.txt* For Vim バージョン 9.0. Last change: 2022 Oct 01
2
2
3
3
4
4
VIMリファレンスマニュアル by Bram Moolenaar
@@ -373,6 +373,9 @@ g:diff_translations を 0 に設定する: >
373
373
その上、'diffexpr' は 'diffopt' オプションの "icase" と "iwhite" についても考
374
374
慮するべきだろう。'diffexpr' は 'lines' と 'columns' の値を変更できない。
375
375
376
+ 引数なしでの関数呼び出しを使用する利点は高速なことである、
377
+ | expr-option-function | を参照のこと。
378
+
376
379
例 (これは 'diffexpr' が空の時とほぼ同じように働く): >
377
380
378
381
set diffexpr=MyDiff()
@@ -439,6 +442,9 @@ http://gnuwin32.sourceforge.net/packages/diffutils.htm.
439
442
v:fname_diff パッチファイル
440
443
v:fname_out パッチ適用結果を出力するファイル
441
444
445
+ 引数なしでの関数呼び出しを使用する利点は高速なことである、
446
+ | expr-option-function | を参照のこと。
447
+
442
448
例 (これは 'patchexpr' を空にしたのと同じ働きをする): >
443
449
444
450
set patchexpr=MyPatch()
Original file line number Diff line number Diff line change 1
- *diff.txt* For Vim version 9.0. Last change: 2022 Jan 22
1
+ *diff.txt* For Vim version 9.0. Last change: 2022 Oct 01
2
2
3
3
4
4
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -376,6 +376,9 @@ Additionally, 'diffexpr' should take care of "icase" and "iwhite" in the
376
376
'diffopt' option. 'diffexpr' cannot change the value of 'lines' and
377
377
'columns' .
378
378
379
+ The advantage of using a function call without arguments is that it is faster,
380
+ see | expr-option-function | .
381
+
379
382
Example (this does almost the same as 'diffexpr' being empty): >
380
383
381
384
set diffexpr=MyDiff()
@@ -441,6 +444,9 @@ will have the same effect. These variables are set to the file names used:
441
444
v:fname_diff patch file
442
445
v:fname_out resulting patched file
443
446
447
+ The advantage of using a function call without arguments is that it is faster,
448
+ see | expr-option-function | .
449
+
444
450
Example (this does the same as 'patchexpr' being empty): >
445
451
446
452
set patchexpr=MyPatch()
You can’t perform that action at this time.
0 commit comments