diff options
author | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-04-29 21:17:06 +0200 |
---|---|---|
committer | KillTheMule <KillTheMule@users.noreply.github.com> | 2016-05-02 21:09:43 +0200 |
commit | 00c35ab3b4d8498c82776525de7b1afcd7b3424a (patch) | |
tree | fce72ff6c7a1adf88952c57ddb6c78246fc41c2d /src/nvim/path.h | |
parent | d542de4a76dd9e600ebcf1405efdc9d3090ad9a8 (diff) | |
download | rneovim-00c35ab3b4d8498c82776525de7b1afcd7b3424a.tar.gz rneovim-00c35ab3b4d8498c82776525de7b1afcd7b3424a.tar.bz2 rneovim-00c35ab3b4d8498c82776525de7b1afcd7b3424a.zip |
vim-patch:7.4.672
Problem: When completing a shell command, directories in the current
directory are not listed.
Solution: When "." is not in $PATH also look in the current directory for
directories.
https://github.com/vim/vim/commit/b5971141dff0c69355fd64196fcc0d0d071d4c82
Most of it applied manually.
Diffstat (limited to 'src/nvim/path.h')
-rw-r--r-- | src/nvim/path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nvim/path.h b/src/nvim/path.h index 88e5935c24..860cc0da86 100644 --- a/src/nvim/path.h +++ b/src/nvim/path.h @@ -21,6 +21,8 @@ /* Note: mostly EW_NOTFOUND and EW_SILENT are mutually exclusive: EW_NOTFOUND * is used when executing commands and EW_SILENT for interactive expanding. */ #define EW_ALLLINKS 0x1000 // also links not pointing to existing file +#define EW_SHELLCMD 0x2000 // called from expand_shellcmd(), don't check + // if executable is in $PATH #define EW_DODOT 0x4000 // also files starting with a dot #define EW_EMPTYOK 0x8000 // no matches is not an error |