Mercurial > vim
diff src/register.c @ 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 | 89e1d67814a9 |
children | bb0e525e1393 |
line wrap: on
line diff
--- a/src/register.c +++ b/src/register.c @@ -914,7 +914,6 @@ get_spec_reg( emsg(_(e_no_inserted_text_yet)); return TRUE; -#ifdef FEAT_SEARCHPATH case Ctrl_F: // Filename under cursor case Ctrl_P: // Path under cursor, expand via "path" if (!errmsg) @@ -923,7 +922,6 @@ get_spec_reg( | (regname == Ctrl_P ? FNAME_EXP : 0), 1L, NULL); *allocated = TRUE; return TRUE; -#endif case Ctrl_W: // word under cursor case Ctrl_A: // WORD (mnemonic All) under cursor @@ -2586,10 +2584,8 @@ get_reg_type(int regname, long *reglen) case ':': // last command line case '/': // last search-pattern case '.': // last inserted text -# ifdef FEAT_SEARCHPATH case Ctrl_F: // Filename under cursor case Ctrl_P: // Path under cursor, expand via "path" -# endif case Ctrl_W: // word under cursor case Ctrl_A: // WORD (mnemonic All) under cursor case '_': // black hole: always empty