aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-14 23:41:43 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-04-23 00:03:47 -0400
commitbbc32fc8313bc18080a3943a8129ba5bbf7081b9 (patch)
treeb636fd473b7d749f835e8824642879b3436833b2 /src/nvim/screen.c
parent07a182c6b57e13e2563aef667131b976db8711cc (diff)
downloadrneovim-bbc32fc8313bc18080a3943a8129ba5bbf7081b9.tar.gz
rneovim-bbc32fc8313bc18080a3943a8129ba5bbf7081b9.tar.bz2
rneovim-bbc32fc8313bc18080a3943a8129ba5bbf7081b9.zip
lint
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index 8a51a0a21e..38fc1ee021 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -1364,7 +1364,8 @@ static void win_update(win_T *wp)
/*
* Display one line.
*/
- row = win_line(wp, lnum, srow, wp->w_grid.Rows, mod_top == 0, false, &syntax_tm);
+ row = win_line(wp, lnum, srow, wp->w_grid.Rows, mod_top == 0, false,
+ &syntax_tm);
wp->w_lines[idx].wl_folded = FALSE;
wp->w_lines[idx].wl_lastlnum = lnum;
@@ -1395,7 +1396,8 @@ static void win_update(win_T *wp)
if (fold_count != 0) {
fold_line(wp, fold_count, &win_foldinfo, lnum, row);
} else {
- (void)win_line(wp, lnum, srow, wp->w_grid.Rows, true, true, &syntax_tm);
+ (void)win_line(wp, lnum, srow, wp->w_grid.Rows, true, true,
+ &syntax_tm);
}
}
@@ -2544,7 +2546,7 @@ win_line (
}
wp->w_cursor = pos;
- /* Need to restart syntax highlighting for this line. */
+ // Need to restart syntax highlighting for this line.
if (has_syntax) {
syntax_start(wp, lnum, syntax_tm);
}