comparison src/globals.h @ 28942:6cdf55afaae9 v8.2.4993

patch 8.2.4993: smart/C/lisp indenting is optional Commit: https://github.com/vim/vim/commit/8e145b82464a21ee4fdf7948f04e2a1d505f8bfa Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 21 20:17:31 2022 +0100 patch 8.2.4993: smart/C/lisp indenting is optional Problem: smart/C/lisp indenting is optional, which makes the code more complex, while it only reduces the executable size a bit. Solution: Graduate FEAT_CINDENT, FEAT_SMARTINDENT and FEAT_LISP.
author Bram Moolenaar <Bram@vim.org>
date Sat, 21 May 2022 21:30:04 +0200
parents d770568e6c98
children 45c182c4f7e9
comparison
equal deleted inserted replaced
28941:f17de8647585 28942:6cdf55afaae9
935 * that was a result of the ":syncbind." (Otherwise, check_scrollbind() will 935 * that was a result of the ":syncbind." (Otherwise, check_scrollbind() will
936 * undo some of the work done by ":syncbind.") -ralston 936 * undo some of the work done by ":syncbind.") -ralston
937 */ 937 */
938 EXTERN int did_syncbind INIT(= FALSE); 938 EXTERN int did_syncbind INIT(= FALSE);
939 939
940 #ifdef FEAT_SMARTINDENT
941 /* 940 /*
942 * This flag is set when a smart indent has been performed. When the next typed 941 * This flag is set when a smart indent has been performed. When the next typed
943 * character is a '{' the inserted tab will be deleted again. 942 * character is a '{' the inserted tab will be deleted again.
944 */ 943 */
945 EXTERN int did_si INIT(= FALSE); 944 EXTERN int did_si INIT(= FALSE);
953 /* 952 /*
954 * This flag is set after an "O" command. If the next typed character is a '{' 953 * This flag is set after an "O" command. If the next typed character is a '{'
955 * one indent will be removed. 954 * one indent will be removed.
956 */ 955 */
957 EXTERN int can_si_back INIT(= FALSE); 956 EXTERN int can_si_back INIT(= FALSE);
958 #endif
959 957
960 EXTERN int old_indent INIT(= 0); // for ^^D command in insert mode 958 EXTERN int old_indent INIT(= 0); // for ^^D command in insert mode
961 959
962 EXTERN pos_T saved_cursor // w_cursor before formatting text. 960 EXTERN pos_T saved_cursor // w_cursor before formatting text.
963 #ifdef DO_INIT 961 #ifdef DO_INIT