From 9db774df44d3b516062e0c4d2c0e478941b73777 Mon Sep 17 00:00:00 2001 From: Hinidu Date: Sat, 12 Apr 2014 00:29:16 +0300 Subject: Remove FEAT_SEARCHPATH Support for gf(edit the file whose name is under or after the cursor) and (is replaced with the path name under the cursor). --- config/config.h.in | 1 - src/nvim/misc2.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/config/config.h.in b/config/config.h.in index c9ea95aa57..f501bfdd19 100644 --- a/config/config.h.in +++ b/config/config.h.in @@ -137,7 +137,6 @@ #define FEAT_RELTIME #define FEAT_RIGHTLEFT #define FEAT_SCROLLBIND -#define FEAT_SEARCHPATH #define FEAT_SEARCH_EXTRA #define FEAT_SESSION #define FEAT_SMARTINDENT diff --git a/src/nvim/misc2.c b/src/nvim/misc2.c index 598e17ef7b..953344bdd5 100644 --- a/src/nvim/misc2.c +++ b/src/nvim/misc2.c @@ -380,8 +380,7 @@ int vim_chdirfile(char_u *fname) #endif /* - * Change directory to "new_dir". If FEAT_SEARCHPATH is defined, search - * 'cdpath' for relative directory names, otherwise just os_chdir(). + * Change directory to "new_dir". Search 'cdpath' for relative directory names. */ int vim_chdir(char_u *new_dir) { -- cgit