comparison src/globals.h @ 18265:fe5afdc03bd2 v8.1.2127

patch 8.1.2127: the indent.c file is a bit big Commit: https://github.com/vim/vim/commit/14c01f83487d5c53192297a710eda2b8a4ab17c9 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 9 22:53:08 2019 +0200 patch 8.1.2127: the indent.c file is a bit big Problem: The indent.c file is a bit big. Solution: Move C-indent code a a new cindent.c file. Move other indent-related code to indent.c. (Yegappan Lakshmanan, closes #5031)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Oct 2019 23:00:04 +0200
parents 5d67f207f7c3
children e8d1f3209dcd
comparison
equal deleted inserted replaced
18264:5202d9b99bee 18265:fe5afdc03bd2
840 * This flag is set after an "O" command. If the next typed character is a '{' 840 * This flag is set after an "O" command. If the next typed character is a '{'
841 * one indent will be removed. 841 * one indent will be removed.
842 */ 842 */
843 EXTERN int can_si_back INIT(= FALSE); 843 EXTERN int can_si_back INIT(= FALSE);
844 #endif 844 #endif
845
846 EXTERN int old_indent INIT(= 0); // for ^^D command in insert mode
845 847
846 EXTERN pos_T saved_cursor // w_cursor before formatting text. 848 EXTERN pos_T saved_cursor // w_cursor before formatting text.
847 #ifdef DO_INIT 849 #ifdef DO_INIT
848 = {0, 0, 0} 850 = {0, 0, 0}
849 #endif 851 #endif