mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
adapt to the style guildelines
semi-automated harvest of low hanging fruit: change the unorthodox use of whitespace.
This commit is contained in:

committed by
Thiago de Arruda

parent
59f2430a8d
commit
edabc6f4c7
@@ -1743,7 +1743,7 @@ void diff_set_topline(win_T *fromwin, win_T *towin)
|
||||
if (dp->df_count[toidx] == dp->df_count[fromidx]) {
|
||||
// same number of lines: use same filler count
|
||||
towin->w_topfill = fromwin->w_topfill;
|
||||
} else if (dp->df_count[toidx] > dp->df_count[fromidx]) {
|
||||
} else if (dp->df_count[toidx] > dp->df_count[fromidx]) {
|
||||
if (lnum == dp->df_lnum[fromidx] + dp->df_count[fromidx]) {
|
||||
// more lines in towin and fromwin doesn't show diff
|
||||
// lines, only filler lines
|
||||
@@ -1869,7 +1869,8 @@ int diffopt_changed(void)
|
||||
/// Return TRUE if 'diffopt' contains "horizontal".
|
||||
///
|
||||
/// @return TRUE if 'diffopt' contains "horizontal"
|
||||
int diffopt_horizontal(void) {
|
||||
int diffopt_horizontal(void)
|
||||
{
|
||||
return (diff_flags & DIFF_HORIZONTAL) != 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user