annotate runtime/doc/vimdiff.1 @ 26236:9e6ddd7b91cd v8.2.3649

patch 8.2.3649: Vim9: error for variable declared in while loop Commit: https://github.com/vim/vim/commit/7a53f29c031f54ab67a803e5e3f8cb44e4edc4bc Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 22 18:31:02 2021 +0000 patch 8.2.3649: Vim9: error for variable declared in while loop Problem: Vim9: error for variable declared in while loop. Solution: Do not keep the first variable. (closes https://github.com/vim/vim/issues/9191)
author Bram Moolenaar <Bram@vim.org>
date Mon, 22 Nov 2021 19:45:03 +0100
parents fd37be6dc258
children 4a958ef2dc5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 .TH VIMDIFF 1 "2001 March 30"
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 .SH NAME
24911
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 1698
diff changeset
3 vimdiff \- edit between two and eight versions of a file with Vim and show differences
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 .SH SYNOPSIS
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 .br
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 .B vimdiff
24911
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 1698
diff changeset
7 [options] file1 file2 [file3 [file4 [file5 [file6 [file7 [file8]]]]]]
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 .PP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 .B gvimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 .SH DESCRIPTION
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 .B Vimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12 starts
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 .B Vim
24911
fd37be6dc258 Update runtime files
Bram Moolenaar <Bram@vim.org>
parents: 1698
diff changeset
14 on two up to eight files.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 Each file gets its own window.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 The differences between the files are highlighted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 This is a nice way to inspect changes and to move changes from one version
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 to another version of the same file.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 .PP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 See vim(1) for details about Vim itself.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 .PP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22 When started as
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23 .B gvimdiff
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 the GUI will be started, if available.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 .PP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 In each window the 'diff' option will be set, which causes the differences
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 to be highlighted.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 .br
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29 The 'wrap' and 'scrollbind' options are set to make the text look good.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 .br
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 The 'foldmethod' option is set to "diff", which puts ranges of lines without
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 changes in a fold. 'foldcolumn' is set to two to make it easy to spot the
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 folds and open or close them.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 .SH OPTIONS
231
8eec9649b7a2 updated for version 7.0064
vimboss
parents: 7
diff changeset
35 Vertical splits are used to align the lines, as if the "\-O" argument was used.
289
9a10e4d195b3 updated for version 7.0076
vimboss
parents: 231
diff changeset
36 To use horizontal splits instead, use the "\-o" argument.
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 .PP
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 For all other arguments see vim(1).
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
39 .SH SEE ALSO
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
40 vim(1)
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 .SH AUTHOR
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 Most of
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 .B Vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
44 was made by Bram Moolenaar, with a lot of help from others.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 See ":help credits" in
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 .B Vim.