From c96b933acc4d9ec7382d451055e44c85959772b9 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Thu, 23 Apr 2015 00:03:36 -0300 Subject: Improve comments and fix ascii_* attributes --- src/nvim/indent.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/nvim/indent.c') 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 == '"') { -- cgit