1
0
forked from aniani/vim

patch 8.2.4288: preprocessor indents are inconsistent

Problem:    Preprocessor indents are inconsistent.
Solution:   Fix preprocessor indents. (Ken Takata, closes #9691)
This commit is contained in:
K.Takata
2022-02-03 13:05:32 +00:00
committed by Bram Moolenaar
parent 2d3ac2e030
commit 6e1d31e9e3
9 changed files with 34 additions and 32 deletions

View File

@@ -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