]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(netrw): expand $COMSPEC without applying 'wildignore' (#13542)
authorChristian Brabandt <cb@256bit.org>
Tue, 21 Nov 2023 18:48:16 +0000 (18:48 +0000)
committerGitHub <noreply@github.com>
Tue, 21 Nov 2023 18:48:16 +0000 (19:48 +0100)
commitcb0c113ddc0101b05a27c040774cb7106fc74cd4
tree869a986fb1742ae796c31669c5ff1b08d9d822da
parent69866449ddb20e329f4bc5250312fbfb4a773986
runtime(netrw): expand $COMSPEC without applying 'wildignore' (#13542)

When expanding $COMSPEC and a user has set :set wildignore=*.exe
netrw won't be able to properly cmd.exe, because it does not ignore the
wildignore setting.

So let's explicitly use expand() without applying the 'wildignore' and
'suffixes' settings to the result

closes: #13426

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/autoload/netrw.vim