diff options
author | Nicolas Dumazet <ndumazet@google.com> | 2016-03-08 17:01:47 +0100 |
---|---|---|
committer | Nicolas Dumazet <ndumazet@google.com> | 2016-03-08 17:11:27 +0100 |
commit | 7bd570cd9a510b93e031a84bd6ae45fc38cfaadf (patch) | |
tree | 43673b0a823b5922f007233c480a65a1c3feac1e /src/nvim/buffer.c | |
parent | 890ce792af102abe37f24f9674b5924b79fbfa27 (diff) | |
download | rneovim-7bd570cd9a510b93e031a84bd6ae45fc38cfaadf.tar.gz rneovim-7bd570cd9a510b93e031a84bd6ae45fc38cfaadf.tar.bz2 rneovim-7bd570cd9a510b93e031a84bd6ae45fc38cfaadf.zip |
vim-patch:7.4.1511
Problem: Statusline highlighting is sometimes wrong.
Solution: Check for Highlight type. (Christian Brabandt)
https://github.com/vim/vim/commit/af6e36ff16736106a1bc63bb4d01f51fdfeb29a2
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r-- | src/nvim/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c index 62ab7495da..8f5ae3445e 100644 --- a/src/nvim/buffer.c +++ b/src/nvim/buffer.c @@ -3014,7 +3014,7 @@ int build_stl_str_hl( && item[groupitem[groupdepth]].minwid == 0) { bool has_normal_items = false; for (long n = groupitem[groupdepth] + 1; n < curitem; n++) { - if (item[n].type == Normal) { + if (item[n].type == Normal || item[n].type == Highlight) { has_normal_items = true; break; } |