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.
This commit is contained in:
@ -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 <mosh@sasi.com>).
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user