comparison src/feature.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 9849df834f1d
children bc6cf208b1b4
comparison
equal deleted inserted replaced
28941:f17de8647585 28942:6cdf55afaae9
109 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. 109 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode.
110 * +modify_fname modifiers for file name. E.g., "%:p:h". 110 * +modify_fname modifiers for file name. E.g., "%:p:h".
111 * +comments 'comments' option. 111 * +comments 'comments' option.
112 * +title 'title' and 'icon' options 112 * +title 'title' and 'icon' options
113 * +jumplist Jumplist, CTRL-O and CTRL-I commands. 113 * +jumplist Jumplist, CTRL-O and CTRL-I commands.
114 * +lispindent lisp indenting (From Eric Fischer).
115 * +cindent C code indenting (From Eric Fischer).
116 * +smartindent smart C code indenting when the 'si' option is set.
114 * 117 *
115 * Obsolete: 118 * Obsolete:
116 * +tag_old_static Old style static tags: "file:tag file ..". 119 * +tag_old_static Old style static tags: "file:tag file ..".
117 * Support was removed in 8.1.1093. 120 * Support was removed in 8.1.1093.
118 * +farsi Farsi (Persian language) Keymap support. 121 * +farsi Farsi (Persian language) Keymap support.
427 # ifdef FEAT_BIG 430 # ifdef FEAT_BIG
428 # define ALL_BUILTIN_TCAPS 431 # define ALL_BUILTIN_TCAPS
429 # else 432 # else
430 # define SOME_BUILTIN_TCAPS // default 433 # define SOME_BUILTIN_TCAPS // default
431 # endif 434 # endif
432 #endif
433
434 /*
435 * +lispindent lisp indenting (From Eric Fischer).
436 * +cindent C code indenting (From Eric Fischer).
437 * +smartindent smart C code indenting when the 'si' option is set.
438 *
439 * These two need to be defined when making prototypes.
440 */
441 #if defined(FEAT_NORMAL) || defined(PROTO)
442 # define FEAT_LISP
443 #endif
444
445 #if defined(FEAT_NORMAL) || defined(PROTO)
446 # define FEAT_CINDENT
447 #endif
448
449 #ifdef FEAT_NORMAL
450 # define FEAT_SMARTINDENT
451 #endif 435 #endif
452 436
453 /* 437 /*
454 * +cryptv Encryption (by Mohsin Ahmed <mosh@sasi.com>). 438 * +cryptv Encryption (by Mohsin Ahmed <mosh@sasi.com>).
455 */ 439 */