mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.2251
Problem: In rare cases diffing 4 buffers is not enough.
Solution: Raise the limit to 8. (closes vim/vim#1000)
015efc32c1
This commit is contained in:
parent
c91e9c1c7a
commit
458b1fc0e7
@ -1,12 +1,12 @@
|
|||||||
*diff.txt* For Vim version 7.4. Last change: 2015 Nov 01
|
*diff.txt* For Vim version 7.4. Last change: 2016 Aug 24
|
||||||
|
|
||||||
|
|
||||||
VIM REFERENCE MANUAL by Bram Moolenaar
|
VIM REFERENCE MANUAL by Bram Moolenaar
|
||||||
|
|
||||||
|
|
||||||
*diff* *diff-mode*
|
*diff* *diff-mode*
|
||||||
This file describes |diff-mode|, which shows the differences between two,
|
This file describes the |+diff| feature: Showing differences between two to
|
||||||
three, or four versions of the same file.
|
eight versions of the same file.
|
||||||
|
|
||||||
The basics are explained in section |08.7| of the user manual.
|
The basics are explained in section |08.7| of the user manual.
|
||||||
|
|
||||||
@ -109,7 +109,7 @@ To make these commands use a vertical split, prepend |:vertical|. Examples: >
|
|||||||
If you always prefer a vertical split include "vertical" in 'diffopt'.
|
If you always prefer a vertical split include "vertical" in 'diffopt'.
|
||||||
|
|
||||||
*E96*
|
*E96*
|
||||||
There can be up to four buffers with 'diff' set.
|
There can be up to eight buffers with 'diff' set.
|
||||||
|
|
||||||
Since the option values are remembered with the buffer, you can edit another
|
Since the option values are remembered with the buffer, you can edit another
|
||||||
file for a moment and come back to the same file and be in diff mode again.
|
file for a moment and come back to the same file and be in diff mode again.
|
||||||
|
@ -771,7 +771,7 @@ struct file_buffer {
|
|||||||
/*
|
/*
|
||||||
* Stuff for diff mode.
|
* Stuff for diff mode.
|
||||||
*/
|
*/
|
||||||
# define DB_COUNT 4 /* up to four buffers can be diff'ed */
|
# define DB_COUNT 8 /* up to four buffers can be diff'ed */
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Each diffblock defines where a block of lines starts in each of the buffers
|
* Each diffblock defines where a block of lines starts in each of the buffers
|
||||||
|
@ -191,7 +191,7 @@ static int included_patches[] = {
|
|||||||
// 2254 NA
|
// 2254 NA
|
||||||
// 2253 NA
|
// 2253 NA
|
||||||
// 2252 NA
|
// 2252 NA
|
||||||
// 2251,
|
2251,
|
||||||
// 2250,
|
// 2250,
|
||||||
// 2249,
|
// 2249,
|
||||||
// 2248,
|
// 2248,
|
||||||
|
Loading…
Reference in New Issue
Block a user