diff options
Diffstat (limited to 'src/nvim/syntax.c')
| -rw-r--r-- | src/nvim/syntax.c | 5 | 
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 7e6e247bba..2df0e72f8f 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -7138,9 +7138,10 @@ int highlight_changed(void)         */        attr = 0;        bool colon = false; -      for (; *p && *p != ','; ++p) {                /* parse upto comma */ -        if (ascii_iswhite(*p))                        /* ignore white space */ +      for (; *p && *p != ','; ++p) {  // parse upto comma +        if (ascii_iswhite(*p)) {  // ignore white space            continue; +        }          if (colon)          /* Combination with ':' is not allowed. */            return FAIL;  | 
