Mercurial > vim
diff 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 |
line wrap: on
line diff
--- a/src/globals.h +++ b/src/globals.h @@ -937,7 +937,6 @@ EXTERN int end_comment_pending INIT( */ EXTERN int did_syncbind INIT(= FALSE); -#ifdef FEAT_SMARTINDENT /* * This flag is set when a smart indent has been performed. When the next typed * character is a '{' the inserted tab will be deleted again. @@ -955,7 +954,6 @@ EXTERN int can_si INIT(= FALSE); * one indent will be removed. */ EXTERN int can_si_back INIT(= FALSE); -#endif EXTERN int old_indent INIT(= 0); // for ^^D command in insert mode