mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
refactor(uncrustify): set maximum number of consecutive newlines to 2 (#18695)
This commit is contained in:
@@ -1371,7 +1371,6 @@ static void set_diff_option(win_T *wp, int value)
|
||||
curbuf = curwin->w_buffer;
|
||||
}
|
||||
|
||||
|
||||
/// Set options in window "wp" for diff mode.
|
||||
///
|
||||
/// @param addbuf Add buffer to diff.
|
||||
@@ -2036,7 +2035,6 @@ void diff_set_topline(win_T *fromwin, win_T *towin)
|
||||
}
|
||||
towin->w_topfill = 0;
|
||||
|
||||
|
||||
// search for a change that includes "lnum" in the list of diffblocks.
|
||||
for (dp = curtab->tp_first_diff; dp != NULL; dp = dp->df_next) {
|
||||
if (lnum <= dp->df_lnum[fromidx] + dp->df_count[fromidx]) {
|
||||
|
Reference in New Issue
Block a user