Skip to content

Commit 0c3b31f

Browse files
authored
Merge pull request #233 from mnishz/diff_for_Vim_8.1
Update diff for Vim 8.0 to 8.1
2 parents 48a07df + bca8505 commit 0c3b31f

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

doc/diff.jax

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim バージョン 8.0. Last change: 2017 Feb 03
1+
*diff.txt* For Vim バージョン 8.1. Last change: 2017 Oct 03
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -10,7 +10,7 @@
1010

1111
基本はユーザーマニュアルのセクション|08.7|に記載されている。
1212

13-
1. 差分モードを開始する |vimdiff|
13+
1. 差分モードを開始する |start-vimdiff|
1414
2. 差分を眺める |view-diffs|
1515
3. 差分へ移動する |jumpto-diffs|
1616
4. 差分を写す |copy-diffs|
@@ -19,7 +19,7 @@
1919
{Vi にはない}
2020

2121
==============================================================================
22-
1. 差分モードを開始する
22+
1. 差分モードを開始する *start-vimdiff*
2323

2424
差分モードで編集を開始するいちばん簡単な方法は "vimdiff" コマンドである。これ
2525
はVimを通常どおり起動して、加えて引数で与えたファイル間の違いを表示する。 >
@@ -221,7 +221,8 @@ Vimは片方のウィンドウには存在しないがもう一方には存在
221221
行末から行われる)。その文字の間のテキストが強
222222
調される。これはその間にあるテキストが例え同じ
223223
だったとしても強調されることを意味する。ここで
224-
'diffopt' の "iwhite" だけが適用される。
224+
'diffopt' の "iwhite" と "icase" が適用され
225+
る。
225226
|hl-DiffDelete| DiffDelete 削除された行。補充された行についても、実際その
226227
バッファには存在していないことから、このグルー
227228
プが適用される。

en/diff.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*diff.txt* For Vim version 8.0. Last change: 2017 Feb 03
1+
*diff.txt* For Vim version 8.1. Last change: 2017 Oct 03
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -10,7 +10,7 @@ eight versions of the same file.
1010

1111
The basics are explained in section |08.7| of the user manual.
1212

13-
1. Starting diff mode |vimdiff|
13+
1. Starting diff mode |start-vimdiff|
1414
2. Viewing diffs |view-diffs|
1515
3. Jumping to diffs |jumpto-diffs|
1616
4. Copying diffs |copy-diffs|
@@ -19,7 +19,7 @@ The basics are explained in section |08.7| of the user manual.
1919
{not in Vi}
2020

2121
==============================================================================
22-
1. Starting diff mode
22+
1. Starting diff mode *start-vimdiff*
2323

2424
The easiest way to start editing in diff mode is with the "vimdiff" command.
2525
This starts Vim as usual, and additionally sets up for viewing the differences
@@ -226,8 +226,8 @@ The diffs are highlighted with these groups:
226226
(searching from the end of the line). The
227227
text in between is highlighted. This means
228228
that parts in the middle that are still the
229-
same are highlighted anyway. Only "iwhite" of
230-
'diffopt' is used here.
229+
same are highlighted anyway. The 'diffopt'
230+
flags "iwhite" and "icase" are used here.
231231
|hl-DiffDelete| DiffDelete Deleted lines. Also called filler lines,
232232
because they don't really exist in this
233233
buffer.
@@ -326,7 +326,7 @@ g:diff_translations to zero: >
326326
327327
let g:diff_translations = 0
328328
<
329-
After setting this variable, Reload the syntax script: >
329+
After setting this variable, reload the syntax script: >
330330
331331
set syntax=diff
332332
<

0 commit comments

Comments
 (0)