From 8e145b82464a21ee4fdf7948f04e2a1d505f8bfa Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 21 May 2022 20:17:31 +0100 Subject: 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. --- src/feature.h | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index 1a24879816..b02bb9c554 100644 --- a/src/feature.h +++ b/src/feature.h @@ -111,6 +111,9 @@ * +comments 'comments' option. * +title 'title' and 'icon' options * +jumplist Jumplist, CTRL-O and CTRL-I commands. + * +lispindent lisp indenting (From Eric Fischer). + * +cindent C code indenting (From Eric Fischer). + * +smartindent smart C code indenting when the 'si' option is set. * * Obsolete: * +tag_old_static Old style static tags: "file:tag file ..". @@ -431,25 +434,6 @@ # endif #endif -/* - * +lispindent lisp indenting (From Eric Fischer). - * +cindent C code indenting (From Eric Fischer). - * +smartindent smart C code indenting when the 'si' option is set. - * - * These two need to be defined when making prototypes. - */ -#if defined(FEAT_NORMAL) || defined(PROTO) -# define FEAT_LISP -#endif - -#if defined(FEAT_NORMAL) || defined(PROTO) -# define FEAT_CINDENT -#endif - -#ifdef FEAT_NORMAL -# define FEAT_SMARTINDENT -#endif - /* * +cryptv Encryption (by Mohsin Ahmed ). */ -- cgit v1.2.3