diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-07-12 07:11:54 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2024-07-12 07:39:36 +0800 |
commit | 83f42aa450582594f0be044c9f0710809ef0f93d (patch) | |
tree | 6625e078592d6139f2ebdd1de699e4f28b62050d /src/nvim/path.h | |
parent | f1827d877d3dece7d743e9db28384ebd5e10550c (diff) | |
download | rneovim-83f42aa450582594f0be044c9f0710809ef0f93d.tar.gz rneovim-83f42aa450582594f0be044c9f0710809ef0f93d.tar.bz2 rneovim-83f42aa450582594f0be044c9f0710809ef0f93d.zip |
vim-patch:9.1.0568: Cannot expand paths from 'cdpath' setting
Problem: Cannot expand paths from 'cdpath' setting
(Daniel Hahler)
Solution: Implement 'cdpath' completion, add the new 'dir_in_path'
completion type (LemonBoy)
fixes vim/vim#374
closes: vim/vim#15205
https://github.com/vim/vim/commit/a20bf69a3b32024cb7809be87af33bf9dc490a19
Co-authored-by: LemonBoy <thatlemon@gmail.com>
Diffstat (limited to 'src/nvim/path.h')
-rw-r--r-- | src/nvim/path.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/path.h b/src/nvim/path.h index a8eb893bb3..26c2bdf14e 100644 --- a/src/nvim/path.h +++ b/src/nvim/path.h @@ -25,7 +25,8 @@ enum { EW_DODOT = 0x4000, ///< also files starting with a dot EW_EMPTYOK = 0x8000, ///< no matches is not an error EW_NOTENV = 0x10000, ///< do not expand environment variables - EW_NOBREAK = 0x20000, ///< do not invoke breakcheck + EW_CDPATH = 0x20000, ///< search in 'cdpath' too + EW_NOBREAK = 0x40000, ///< do not invoke breakcheck }; // Note: mostly EW_NOTFOUND and EW_SILENT are mutually exclusive: EW_NOTFOUND // is used when executing commands and EW_SILENT for interactive expanding. |