diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-23 00:03:36 -0300 |
---|---|---|
committer | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2015-04-24 22:17:02 -0300 |
commit | c96b933acc4d9ec7382d451055e44c85959772b9 (patch) | |
tree | 4a3aff2749eb0b70b7947ecfc7cd56d56ad4e29d /src/nvim/syntax.c | |
parent | bcfc37ea98136c449077baa8d97e2334da20d9fc (diff) | |
download | rneovim-c96b933acc4d9ec7382d451055e44c85959772b9.tar.gz rneovim-c96b933acc4d9ec7382d451055e44c85959772b9.tar.bz2 rneovim-c96b933acc4d9ec7382d451055e44c85959772b9.zip |
Improve comments and fix ascii_* attributes
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; |