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.
diff --git a/src/misc2.c b/src/misc2.c
index 38dcb48..84adafa 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -2399,15 +2399,12 @@
/*
- * Change directory to "new_dir". If FEAT_SEARCHPATH is defined, search
- * 'cdpath' for relative directory names, otherwise just mch_chdir().
+ * Change directory to "new_dir". Search 'cdpath' for relative directory
+ * names, otherwise just mch_chdir().
*/
int
vim_chdir(char_u *new_dir)
{
-#ifndef FEAT_SEARCHPATH
- return mch_chdir((char *)new_dir);
-#else
char_u *dir_name;
int r;
@@ -2418,7 +2415,6 @@
r = mch_chdir((char *)dir_name);
vim_free(dir_name);
return r;
-#endif
}
/*