comparison src/feature.h @ 29853:31c598083364 v9.0.0265

patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version Commit: https://github.com/vim/vim/commit/f80f40a55ccff0a4331c5fbd1ac446511f622ed0 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Aug 25 16:02:23 2022 +0100 patch 9.0.0265: no good reason why the "gf" command isn't in the tiny version Problem: No good reason why the "gf" command is not in the tiny version. Solution: Graduate the file_in_path feature.
author Bram Moolenaar <Bram@vim.org>
date Thu, 25 Aug 2022 17:15:03 +0200
parents bc6cf208b1b4
children 62350f19d4ed
comparison
equal deleted inserted replaced
29852:8568b72caa9a 29853:31c598083364
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 * +autocmd Automatic commands
100 * +vertsplit Vertically split windows. 101 * +vertsplit Vertically split windows.
101 * +cmdhist Command line history. 102 * +cmdhist Command line history.
102 * +localmap Mappings and abbreviations local to a buffer. 103 * +localmap Mappings and abbreviations local to a buffer.
103 * +visual Visual mode 104 * +visual Visual mode
104 * +visualextra Extra features for Visual mode (mostly block operators). 105 * +visualextra Extra features for Visual mode (mostly block operators).
113 * +jumplist Jumplist, CTRL-O and CTRL-I commands. 114 * +jumplist Jumplist, CTRL-O and CTRL-I commands.
114 * +lispindent lisp indenting (From Eric Fischer). 115 * +lispindent lisp indenting (From Eric Fischer).
115 * +cindent C code indenting (From Eric Fischer). 116 * +cindent C code indenting (From Eric Fischer).
116 * +smartindent smart C code indenting when the 'si' option is set. 117 * +smartindent smart C code indenting when the 'si' option is set.
117 * +textobjects Text objects: "vaw", "das", etc. 118 * +textobjects Text objects: "vaw", "das", etc.
119 * +file_in_path "gf" and "<cfile>" commands.
118 * 120 *
119 * Obsolete: 121 * Obsolete:
120 * +tag_old_static Old style static tags: "file:tag file ..". 122 * +tag_old_static Old style static tags: "file:tag file ..".
121 * Support was removed in 8.1.1093. 123 * Support was removed in 8.1.1093.
122 * +farsi Farsi (Persian language) Keymap support. 124 * +farsi Farsi (Persian language) Keymap support.
200 #ifdef FEAT_NORMAL 202 #ifdef FEAT_NORMAL
201 # define FEAT_QUICKFIX 203 # define FEAT_QUICKFIX
202 #endif 204 #endif
203 205
204 /* 206 /*
205 * +file_in_path "gf" and "<cfile>" commands.
206 */
207 #ifdef FEAT_NORMAL
208 # define FEAT_SEARCHPATH
209 #endif
210
211 /*
212 * +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc. 207 * +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc.
213 */ 208 */
214 #ifdef FEAT_NORMAL 209 #ifdef FEAT_NORMAL
215 # ifdef FEAT_SEARCHPATH // FEAT_SEARCHPATH is required 210 # define FEAT_FIND_ID
216 # define FEAT_FIND_ID
217 # endif
218 #endif 211 #endif
219 212
220 /* 213 /*
221 * +path_extra up/downwards searching in 'path' and 'tags'. 214 * +path_extra up/downwards searching in 'path' and 'tags'.
222 */ 215 */
322 # define FEAT_POSTSCRIPT 315 # define FEAT_POSTSCRIPT
323 #endif 316 #endif
324 317
325 /* 318 /*
326 * +diff Displaying diffs in a nice way. 319 * +diff Displaying diffs in a nice way.
327 * Requires +windows and +autocmd.
328 * Can be enabled in autoconf already. 320 * Can be enabled in autoconf already.
329 */ 321 */
330 #if defined(FEAT_NORMAL) && !defined(FEAT_DIFF) 322 #if defined(FEAT_NORMAL) && !defined(FEAT_DIFF)
331 # define FEAT_DIFF 323 # define FEAT_DIFF
332 #endif 324 #endif
378 // #define VIMINFO_FILE2 "~/bar/.viminfo" 370 // #define VIMINFO_FILE2 "~/bar/.viminfo"
379 #endif 371 #endif
380 372
381 /* 373 /*
382 * +syntax syntax highlighting. When using this, it's a good 374 * +syntax syntax highlighting. When using this, it's a good
383 * idea to have +autocmd and +eval too. 375 * idea to have +eval too.
384 */ 376 */
385 #if defined(FEAT_NORMAL) || defined(PROTO) 377 #if defined(FEAT_NORMAL) || defined(PROTO)
386 # define FEAT_SYN_HL 378 # define FEAT_SYN_HL
387 #endif 379 #endif
388 380
389 /* 381 /*
390 * +conceal 'conceal' option. Needs syntax highlighting 382 * +conceal 'conceal' option. Depends on syntax highlighting
391 * as this is how the concealed text is defined. 383 * as this is how the concealed text is defined.
392 */ 384 */
393 #if defined(FEAT_BIG) && defined(FEAT_SYN_HL) 385 #if defined(FEAT_BIG) && defined(FEAT_SYN_HL)
394 # define FEAT_CONCEAL 386 # define FEAT_CONCEAL
395 #endif 387 #endif