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/indent.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/indent.c')
-rw-r--r-- | src/nvim/indent.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/indent.c b/src/nvim/indent.c index c1733346fc..d3008185dc 100644 --- a/src/nvim/indent.c +++ b/src/nvim/indent.c @@ -706,7 +706,8 @@ int get_lisp_indent(void) if (vi_lisp || ((*that != '"') && (*that != '\'') && (*that != '#') && ((*that < '0') || (*that > '9')))) { - while (*that && (!ascii_iswhite(*that) || quotecount || parencount) + while (*that + && (!ascii_iswhite(*that) || quotecount || parencount) && (!((*that == '(' || *that == '[') && !quotecount && !parencount && vi_lisp))) { if (*that == '"') { |