neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 874869321a3a1695ba362dcb2e8334c8742c90a3
parent 5def8714ad70e71e07773960269fff5c0c95e7ab
Author: zeertzjq <zeertzjq@outlook.com>
Date:   Fri, 14 Jun 2024 16:28:55 +0800

vim-patch:4407461: runtime(netrw): correctly test for windows in NetrwGlob() (#29330)

use has("win32") instead of has("win64") otherwise it
won't work on x86 systems.

https://github.com/vim/vim/commit/440746158ce0fec2880ccacc03f39dbc954c5543

Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat:
Mruntime/autoload/netrw.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/autoload/netrw.vim b/runtime/autoload/netrw.vim @@ -5759,7 +5759,7 @@ fun! s:NetrwGlob(direntry,expr,pare) let w:netrw_liststyle= keep_liststyle else let path= s:ComposePath(fnameescape(a:direntry),a:expr) - if has("win64") + if has("win32") " escape [ so it is not detected as wildcard character, see :h wildcard let path= substitute(path, '[', '[[]', 'g') endif