Mercurial > vim
diff src/change.c @ 27521:3ad379c0ab28 v8.2.4288
patch 8.2.4288: preprocessor indents are inconsistent
Commit: https://github.com/vim/vim/commit/6e1d31e9e3ca42cb883abca198f011dc6f4ceb14
Author: K.Takata <kentkt@csc.jp>
Date: Thu Feb 3 13:05:32 2022 +0000
patch 8.2.4288: preprocessor indents are inconsistent
Problem: Preprocessor indents are inconsistent.
Solution: Fix preprocessor indents. (Ken Takata, closes https://github.com/vim/vim/issues/9691)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 03 Feb 2022 14:15:03 +0100 |
parents | d02d40f0261c |
children | 17cd22b7151b |
line wrap: on
line diff
--- a/src/change.c +++ b/src/change.c @@ -1638,9 +1638,9 @@ open_line( #ifdef FEAT_CINDENT // May do indenting after opening a new line. do_cindent = !p_paste && (curbuf->b_p_cin -# ifdef FEAT_EVAL +# ifdef FEAT_EVAL || *curbuf->b_p_inde != NUL -# endif +# endif ) && in_cinkeys(dir == FORWARD ? KEY_OPEN_FORW