comparison src/feature.h @ 17761:109a0889b900 v8.1.1877

patch 8.1.1877: graduated features scattered commit https://github.com/vim/vim/commit/ffc0716af8e448ef8a2a3249edfd0260546933df Author: Bram Moolenaar <Bram@vim.org> Date: Sat Aug 17 20:17:51 2019 +0200 patch 8.1.1877: graduated features scattered Problem: Graduated features scattered. Solution: Put graduated and obsolete features together.
author Bram Moolenaar <Bram@vim.org>
date Sat, 17 Aug 2019 20:30:03 +0200
parents 10696f279e20
children 04245f071792
comparison
equal deleted inserted replaced
17760:da4c531f75f1 17761:109a0889b900
92 * Optional code (see ":help +feature-list") 92 * Optional code (see ":help +feature-list")
93 * ============= 93 * =============
94 */ 94 */
95 95
96 /* 96 /*
97 * These features used to be optional but are now always enabled. 97 * These features used to be optional but are now always enabled:
98 * +windows Multiple windows. Without this there is no help 98 * +windows Multiple windows. Without this there is no help
99 * window and no status lines. 99 * window and no status lines.
100 * +vertsplit Vertically split windows. 100 * +vertsplit Vertically split windows.
101 */
102
103 /*
104 * +cmdhist Command line history. 101 * +cmdhist Command line history.
105 * Now always included. 102 * +localmap Mappings and abbreviations local to a buffer.
103 * +visual Visual mode
104 * +visualextra Extra features for Visual mode (mostly block operators).
105 * +virtualedit 'virtualedit' option and its implementation
106 * +user_commands Allow the user to define his own commands.
107 * +multi_byte Generic multi-byte character handling.
108 *
109 * Obsolete:
110 * +tag_old_static Old style static tags: "file:tag file ..".
111 * Support was removed in 8.1.1093.
112 * +farsi Farsi (Persian language) Keymap support.
113 * Removed in patch 8.1.0932
106 */ 114 */
107 115
108 /* 116 /*
109 * Message history is fixed at 200 message, 20 for the tiny version. 117 * Message history is fixed at 200 message, 20 for the tiny version.
110 */ 118 */
160 #ifdef FEAT_BIG 168 #ifdef FEAT_BIG
161 # define FEAT_KEYMAP 169 # define FEAT_KEYMAP
162 #endif 170 #endif
163 171
164 /* 172 /*
165 * +localmap Mappings and abbreviations local to a buffer.
166 * Now always included.
167 */
168
169 /*
170 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. Takes about 173 * +insert_expand CTRL-N/CTRL-P/CTRL-X in insert mode. Takes about
171 * 4Kbyte of code. 174 * 4Kbyte of code.
172 */ 175 */
173 #ifdef FEAT_NORMAL 176 #ifdef FEAT_NORMAL
174 # define FEAT_INS_EXPAND 177 # define FEAT_INS_EXPAND
185 #ifdef FEAT_NORMAL 188 #ifdef FEAT_NORMAL
186 # define VIM_BACKTICK /* internal backtick expansion */ 189 # define VIM_BACKTICK /* internal backtick expansion */
187 #endif 190 #endif
188 191
189 /* 192 /*
190 * +visual Visual mode - now always included.
191 * +visualextra Extra features for Visual mode (mostly block operators).
192 * Now always included.
193 */
194
195 /*
196 * +virtualedit 'virtualedit' option and its implementation
197 * Now always included.
198 */
199
200 /*
201 * +cmdline_info 'showcmd' and 'ruler' options. 193 * +cmdline_info 'showcmd' and 'ruler' options.
202 */ 194 */
203 #ifdef FEAT_NORMAL 195 #ifdef FEAT_NORMAL
204 # define FEAT_CMDL_INFO 196 # define FEAT_CMDL_INFO
205 #endif 197 #endif
255 * Disabled for EBCDIC as it requires multibyte. 247 * Disabled for EBCDIC as it requires multibyte.
256 */ 248 */
257 #if defined(FEAT_BIG) && !defined(DISABLE_RIGHTLEFT) && !defined(EBCDIC) 249 #if defined(FEAT_BIG) && !defined(DISABLE_RIGHTLEFT) && !defined(EBCDIC)
258 # define FEAT_RIGHTLEFT 250 # define FEAT_RIGHTLEFT
259 #endif 251 #endif
260
261 /*
262 * +farsi Farsi (Persian language) Keymap support.
263 * Removed in patch 8.1.0932
264 */
265 252
266 /* 253 /*
267 * +arabic Arabic keymap and shaping support. 254 * +arabic Arabic keymap and shaping support.
268 * Requires FEAT_RIGHTLEFT 255 * Requires FEAT_RIGHTLEFT
269 * 256 *
298 #if !defined(EBCDIC) 285 #if !defined(EBCDIC)
299 # define FEAT_TAG_BINS 286 # define FEAT_TAG_BINS
300 #endif 287 #endif
301 288
302 /* 289 /*
303 * +tag_old_static Old style static tags: "file:tag file ..".
304 * Support was removed in 8.1.1093.
305 */
306
307 /*
308 * +cscope Unix only: Cscope support. 290 * +cscope Unix only: Cscope support.
309 */ 291 */
310 #if defined(UNIX) && defined(FEAT_BIG) && !defined(FEAT_CSCOPE) && !defined(MACOS_X) 292 #if defined(UNIX) && defined(FEAT_BIG) && !defined(FEAT_CSCOPE) && !defined(MACOS_X)
311 # define FEAT_CSCOPE 293 # define FEAT_CSCOPE
312 #endif 294 #endif
369 * Insert mode completion with 'completefunc'. 351 * Insert mode completion with 'completefunc'.
370 */ 352 */
371 #if defined(FEAT_INS_EXPAND) && defined(FEAT_EVAL) 353 #if defined(FEAT_INS_EXPAND) && defined(FEAT_EVAL)
372 # define FEAT_COMPL_FUNC 354 # define FEAT_COMPL_FUNC
373 #endif 355 #endif
374
375 /*
376 * +user_commands Allow the user to define his own commands.
377 * Now always enabled.
378 */
379 356
380 /* 357 /*
381 * +printer ":hardcopy" command 358 * +printer ":hardcopy" command
382 * +postscript Printing uses PostScript file output. 359 * +postscript Printing uses PostScript file output.
383 */ 360 */
570 #endif 547 #endif
571 #if defined(HAVE_GETTEXT) && defined(FEAT_MULTI_LANG) \ 548 #if defined(HAVE_GETTEXT) && defined(FEAT_MULTI_LANG) \
572 && (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) 549 && (defined(HAVE_LOCALE_H) || defined(X_LOCALE))
573 # define FEAT_GETTEXT 550 # define FEAT_GETTEXT
574 #endif 551 #endif
575
576 /*
577 * +multi_byte Generic multi-byte character handling.
578 * Now always enabled.
579 */
580 552
581 /* 553 /*
582 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so 554 * +multi_byte_ime Win32 IME input method. Only for far-east Windows, so
583 * IME can be used to input chars. Not tested much! 555 * IME can be used to input chars. Not tested much!
584 */ 556 */