Last active
February 18, 2016 21:48
-
-
Save stephenprater/f8c03a769a8816d9885c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/nvim/buffer.c b/src/nvim/buffer.c | |
index 9806623..5593371 100644 | |
--- a/src/nvim/buffer.c | |
+++ b/src/nvim/buffer.c | |
@@ -3010,7 +3010,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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git src/nvim/buffer.c src/nvim/buffer.c | |
index 9806623..5593371 100644 | |
--- src/nvim/buffer.c | |
+++ src/nvim/buffer.c | |
@@ -3010,7 +3010,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; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment