mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
fix(fold): highlight even in folds (#13643)
This commit is contained in:
parent
69fc6c2de0
commit
52163c66b9
@ -2013,7 +2013,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow,
|
|||||||
// end-of-line
|
// end-of-line
|
||||||
int lcs_eol_one = wp->w_p_lcs_chars.eol; // 'eol' until it's been used
|
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
|
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)
|
// saved "extra" items for when draw_state becomes WL_LINE (again)
|
||||||
int saved_n_extra = 0;
|
int saved_n_extra = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user