aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-07-16 19:52:23 +0200
committerGitHub <noreply@github.com>2019-07-16 19:52:23 +0200
commitb35ad8602402d5fbd67936ab12f660525228220a (patch)
treec0790515b9d64dcfa7a2e6e9c7886dee73829beb /src/nvim/syntax.c
parentb9a2b3f01424e6f10a6134675e8fe7f96734bccf (diff)
parent64f4ee39aac06c405d87256b588eb9dff8fb3c57 (diff)
downloadrneovim-b35ad8602402d5fbd67936ab12f660525228220a.tar.gz
rneovim-b35ad8602402d5fbd67936ab12f660525228220a.tar.bz2
rneovim-b35ad8602402d5fbd67936ab12f660525228220a.zip
Merge #10391 from janlazo/vim-8.1.0495
vim-patch:8.1.{495,505,531,533,583,623,630,641,686,715,833,1012,1221,1651}
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 192cf9cb75..84392680c5 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -351,7 +351,7 @@ static reg_extmatch_T *next_match_extmatch = NULL;
/*
* A state stack is an array of integers or stateitem_T, stored in a
- * garray_T. A state stack is invalid if it's itemsize entry is zero.
+ * garray_T. A state stack is invalid if its itemsize entry is zero.
*/
#define INVALID_STATE(ssp) ((ssp)->ga_itemsize == 0)
#define VALID_STATE(ssp) ((ssp)->ga_itemsize != 0)
@@ -7029,6 +7029,10 @@ static void highlight_list_one(const int id)
struct hl_group *const sgp = &HL_TABLE()[id - 1]; // index is ID minus one
bool didh = false;
+ if (message_filtered(sgp->sg_name)) {
+ return;
+ }
+
didh = highlight_list_arg(id, didh, LIST_ATTR,
sgp->sg_cterm, NULL, "cterm");
didh = highlight_list_arg(id, didh, LIST_INT,