diff options
author | Matthieu Coudron <teto@users.noreply.github.com> | 2020-12-30 15:17:41 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-30 15:17:41 +0100 |
commit | 52163c66b936c21f00832af19fb438b6db6f9766 (patch) | |
tree | f82bd8a18bf3187fc6db7dd6f0e5d86b642758d7 /src | |
parent | 69fc6c2de011e6da556fedd3a058fecf47883b8e (diff) | |
download | rneovim-52163c66b936c21f00832af19fb438b6db6f9766.tar.gz rneovim-52163c66b936c21f00832af19fb438b6db6f9766.tar.bz2 rneovim-52163c66b936c21f00832af19fb438b6db6f9766.zip |
fix(fold): highlight even in folds (#13643)
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index dc028f0ed7..9ed91fcd89 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2013,7 +2013,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, // end-of-line int lcs_eol_one = wp->w_p_lcs_chars.eol; // 'eol' until it's been used int lcs_prec_todo = wp->w_p_lcs_chars.prec; // 'prec' until it's been used - bool has_fold = foldinfo.fi_level != 0 && foldinfo.fi_lines >= 0; + bool has_fold = foldinfo.fi_level != 0 && foldinfo.fi_lines > 0; // saved "extra" items for when draw_state becomes WL_LINE (again) int saved_n_extra = 0; |