From 7eb0c16dc8433e27ce0c8573a80284ec044d5ef4 Mon Sep 17 00:00:00 2001 From: Matthieu Coudron Date: Mon, 23 Nov 2020 20:58:13 +0100 Subject: fix(fold): use Folded highlight even with spell on Partially addresses https://github.com/neovim/neovim/issues/12982. It's more a quickfix while reworking folds. --- src/nvim/screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 20fec490a9..425458f210 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -2196,6 +2196,7 @@ static int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, } if (wp->w_p_spell + && foldinfo.fi_lines == 0 && *wp->w_s->b_p_spl != NUL && !GA_EMPTY(&wp->w_s->b_langp) && *(char **)(wp->w_s->b_langp.ga_data) != NULL) { -- cgit