diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2020-11-23 20:58:13 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2020-11-23 21:06:56 +0100 |
commit | 7eb0c16dc8433e27ce0c8573a80284ec044d5ef4 (patch) | |
tree | 5edf02966adc66893c35946e4d831b229ff3f06a /src | |
parent | 4f1fc0f6d514980700152b7c05e5c92ec379f0d7 (diff) | |
download | rneovim-7eb0c16dc8433e27ce0c8573a80284ec044d5ef4.tar.gz rneovim-7eb0c16dc8433e27ce0c8573a80284ec044d5ef4.tar.bz2 rneovim-7eb0c16dc8433e27ce0c8573a80284ec044d5ef4.zip |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/screen.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) { |