1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2022-08-25 16:02:23 +01:00
parent b213703f35
commit f80f40a55c
25 changed files with 20 additions and 157 deletions

View File

@@ -97,6 +97,7 @@
* These features used to be optional but are now always enabled:
* +windows Multiple windows. Without this there is no help
* window and no status lines.
* +autocmd Automatic commands
* +vertsplit Vertically split windows.
* +cmdhist Command line history.
* +localmap Mappings and abbreviations local to a buffer.
@@ -115,6 +116,7 @@
* +cindent C code indenting (From Eric Fischer).
* +smartindent smart C code indenting when the 'si' option is set.
* +textobjects Text objects: "vaw", "das", etc.
* +file_in_path "gf" and "<cfile>" commands.
*
* Obsolete:
* +tag_old_static Old style static tags: "file:tag file ..".
@@ -201,20 +203,11 @@
# define FEAT_QUICKFIX
#endif
/*
* +file_in_path "gf" and "<cfile>" commands.
*/
#ifdef FEAT_NORMAL
# define FEAT_SEARCHPATH
#endif
/*
* +find_in_path "[I" ":isearch" "^W^I", ":checkpath", etc.
*/
#ifdef FEAT_NORMAL
# ifdef FEAT_SEARCHPATH // FEAT_SEARCHPATH is required
# define FEAT_FIND_ID
# endif
# define FEAT_FIND_ID
#endif
/*
@@ -324,7 +317,6 @@
/*
* +diff Displaying diffs in a nice way.
* Requires +windows and +autocmd.
* Can be enabled in autoconf already.
*/
#if defined(FEAT_NORMAL) && !defined(FEAT_DIFF)
@@ -380,14 +372,14 @@
/*
* +syntax syntax highlighting. When using this, it's a good
* idea to have +autocmd and +eval too.
* idea to have +eval too.
*/
#if defined(FEAT_NORMAL) || defined(PROTO)
# define FEAT_SYN_HL
#endif
/*
* +conceal 'conceal' option. Needs syntax highlighting
* +conceal 'conceal' option. Depends on syntax highlighting
* as this is how the concealed text is defined.
*/
#if defined(FEAT_BIG) && defined(FEAT_SYN_HL)