mirror of
https://github.com/vim/vim.git
synced 2025-09-26 04:04:07 -04:00
patch 9.1.1009: diff feature can be improved
Problem: diff feature can be improved Solution: include the linematch diff alignment algorithm (Jonathon) closes: #9661 Signed-off-by: Jonathon <jonathonwhite@protonmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
faf250c9e4
commit
7c7a4e6d1a
@@ -3553,6 +3553,8 @@ struct diffblock_S
|
||||
diff_T *df_next;
|
||||
linenr_T df_lnum[DB_COUNT]; // line number in buffer
|
||||
linenr_T df_count[DB_COUNT]; // nr of inserted/changed lines
|
||||
int is_linematched; // has the linematch algorithm ran on this diff hunk to divide it into
|
||||
// smaller diff hunks?
|
||||
};
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user