aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHinidu <hinidu@gmail.com>2014-04-12 00:29:16 +0300
committerJustin M. Keyes <justinkz@gmail.com>2014-05-28 13:08:54 -0400
commit9db774df44d3b516062e0c4d2c0e478941b73777 (patch)
treee2a8081dd81fd5b4fff33e7f9f9bcafdad07fd68
parent75f152d09b984864732d7b110c76f9a1214b085c (diff)
downloadrneovim-9db774df44d3b516062e0c4d2c0e478941b73777.tar.gz
rneovim-9db774df44d3b516062e0c4d2c0e478941b73777.tar.bz2
rneovim-9db774df44d3b516062e0c4d2c0e478941b73777.zip
Remove FEAT_SEARCHPATH
Support for gf(edit the file whose name is under or after the cursor) and <cfile>(is replaced with the path name under the cursor).
-rw-r--r--config/config.h.in1
-rw-r--r--src/nvim/misc2.c3
2 files changed, 1 insertions, 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)
{