aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/buffer.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2016-03-09 01:33:14 -0500
committerJustin M. Keyes <justinkz@gmail.com>2016-03-09 01:33:14 -0500
commita40a4e2431ccae5f2855df1ffdbf1c94de681886 (patch)
tree43673b0a823b5922f007233c480a65a1c3feac1e /src/nvim/buffer.c
parent890ce792af102abe37f24f9674b5924b79fbfa27 (diff)
parent7bd570cd9a510b93e031a84bd6ae45fc38cfaadf (diff)
downloadrneovim-a40a4e2431ccae5f2855df1ffdbf1c94de681886.tar.gz
rneovim-a40a4e2431ccae5f2855df1ffdbf1c94de681886.tar.bz2
rneovim-a40a4e2431ccae5f2855df1ffdbf1c94de681886.zip
Merge pull request #4427 from nicdumz/vim-7.4.1511
vim-patch:7.4.1511
Diffstat (limited to 'src/nvim/buffer.c')
-rw-r--r--src/nvim/buffer.c2
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;
}