commit | 0e8e938d497260dd57be67b4966cb27a5f72376f | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Jun 18 12:51:11 2022 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Jun 18 12:51:11 2022 +0100 |
tree | 9db10da8b544b863ea1c4ef0479ed915d90a95d7 | |
parent | 8d6420631c2bd73dbc1939c4bf04ab7bb39cc263 [diff] [blame] |
patch 8.2.5122: lisp indenting my run over the end of the line Problem: Lisp indenting my run over the end of the line. Solution: Check for NUL earlier.
diff --git a/src/indent.c b/src/indent.c index 794fa2c..fa177bc 100644 --- a/src/indent.c +++ b/src/indent.c
@@ -2029,6 +2029,8 @@ } } } + if (*that == NUL) + break; } if (*that == '(' || *that == '[') ++parencount;