File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed 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
22
33
44 VIM REFERENCE MANUAL by Bram Moolenaar
@@ -376,6 +376,9 @@ Additionally, 'diffexpr' should take care of "icase" and "iwhite" in the
376376'diffopt' option. 'diffexpr' cannot change the value of 'lines' and
377377'columns' .
378378
379+ The advantage of using a function call without arguments is that it is faster,
380+ see | expr-option-function | .
381+
379382Example (this does almost the same as 'diffexpr' being empty): >
380383
381384 set diffexpr=MyDiff()
@@ -441,6 +444,9 @@ will have the same effect. These variables are set to the file names used:
441444 v:fname_diff patch file
442445 v:fname_out resulting patched file
443446
447+ The advantage of using a function call without arguments is that it is faster,
448+ see | expr-option-function | .
449+
444450Example (this does the same as 'patchexpr' being empty): >
445451
446452 set patchexpr=MyPatch()
You can’t perform that action at this time.
0 commit comments