comparison 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
comparison
equal deleted inserted replaced
27520:22f899e99b3f 27521:3ad379c0ab28
1636 } 1636 }
1637 1637
1638 #ifdef FEAT_CINDENT 1638 #ifdef FEAT_CINDENT
1639 // May do indenting after opening a new line. 1639 // May do indenting after opening a new line.
1640 do_cindent = !p_paste && (curbuf->b_p_cin 1640 do_cindent = !p_paste && (curbuf->b_p_cin
1641 # ifdef FEAT_EVAL 1641 # ifdef FEAT_EVAL
1642 || *curbuf->b_p_inde != NUL 1642 || *curbuf->b_p_inde != NUL
1643 # endif 1643 # endif
1644 ) 1644 )
1645 && in_cinkeys(dir == FORWARD 1645 && in_cinkeys(dir == FORWARD
1646 ? KEY_OPEN_FORW 1646 ? KEY_OPEN_FORW
1647 : KEY_OPEN_BACK, ' ', linewhite(curwin->w_cursor.lnum)); 1647 : KEY_OPEN_BACK, ' ', linewhite(curwin->w_cursor.lnum));
1648 #endif 1648 #endif