aboutsummaryrefslogtreecommitdiff
path: root/runtime/plugin/netrwPlugin.vim
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-10-31 18:55:59 +0800
committerzeertzjq <zeertzjq@outlook.com>2024-10-31 18:56:02 +0800
commit122cd35e4dac32a89179dcba171e8ad80c0828a3 (patch)
tree40def08b6d2ab9405c7a5f7b4369439512a74ef2 /runtime/plugin/netrwPlugin.vim
parent2ce26010a6627cfb1207c554d8989c017e106d34 (diff)
downloadrneovim-122cd35e4dac32a89179dcba171e8ad80c0828a3.tar.gz
rneovim-122cd35e4dac32a89179dcba171e8ad80c0828a3.tar.bz2
rneovim-122cd35e4dac32a89179dcba171e8ad80c0828a3.zip
vim-patch:d69ffbe: runtime(netrw): add missing change for s:redir()
Somehow, that change got lost in commit 70197885 https://github.com/vim/vim/commit/d69ffbe4bc2196c4fc2b9377167a9a194213a686 Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/plugin/netrwPlugin.vim')
-rw-r--r--runtime/plugin/netrwPlugin.vim3
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/plugin/netrwPlugin.vim b/runtime/plugin/netrwPlugin.vim
index b46ee39f74..c31eed525e 100644
--- 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