changeset 36406:eaf1791e891a draft

runtime(netrw): add missing change for s:redir() Commit: https://github.com/vim/vim/commit/d69ffbe4bc2196c4fc2b9377167a9a194213a686 Author: Christian Brabandt <cb@256bit.org> Date: Mon Oct 28 21:23:54 2024 +0100 runtime(netrw): add missing change for s:redir() Somehow, that change got lost in commit 70197885 Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Mon, 28 Oct 2024 21:30:03 +0100
parents 714811b569ca
children 65921ec26072
files runtime/plugin/netrwPlugin.vim
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/plugin/netrwPlugin.vim
+++ b/runtime/plugin/netrwPlugin.vim
@@ -5,6 +5,7 @@
 " Last Change:
 "   2024 May 08 by Vim Project: cleanup legacy Win9X checks
 "   2024 Oct 27 by Vim Project: cleanup gx mapping
+"   2024 Oct 28 by Vim Project: further improvements
 " Former Maintainer:   Charles E Campbell
 " GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
 " Copyright:    Copyright (C) 1999-2021 Charles E. Campbell {{{1
@@ -53,7 +54,7 @@ if has('unix')
     " If cygstart provided, then assume Cygwin and use cygstart --hide; see man cygstart.
     if executable('cygstart')
       command -complete=shellcmd -nargs=1 -bang Launch
-          \ exe 'silent ! cygstart --hide' trim(<q-args>)  s:redir | redraw!
+          \ exe 'silent ! cygstart --hide' trim(<q-args>)  s:redir() | redraw!
     elseif !empty($MSYSTEM) && executable('start')
       " MSYS2/Git Bash comes by default without cygstart; see
       " https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin