mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
runtime(netrw): add missing change for s:redir()
Somehow, that change got lost in commit 70197885 Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
bdac2ef6fe
commit
d69ffbe4bc
@ -5,6 +5,7 @@
|
|||||||
" Last Change:
|
" Last Change:
|
||||||
" 2024 May 08 by Vim Project: cleanup legacy Win9X checks
|
" 2024 May 08 by Vim Project: cleanup legacy Win9X checks
|
||||||
" 2024 Oct 27 by Vim Project: cleanup gx mapping
|
" 2024 Oct 27 by Vim Project: cleanup gx mapping
|
||||||
|
" 2024 Oct 28 by Vim Project: further improvements
|
||||||
" Former Maintainer: Charles E Campbell
|
" Former Maintainer: Charles E Campbell
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
" Copyright: Copyright (C) 1999-2021 Charles E. Campbell {{{1
|
" 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 cygstart provided, then assume Cygwin and use cygstart --hide; see man cygstart.
|
||||||
if executable('cygstart')
|
if executable('cygstart')
|
||||||
command -complete=shellcmd -nargs=1 -bang Launch
|
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')
|
elseif !empty($MSYSTEM) && executable('start')
|
||||||
" MSYS2/Git Bash comes by default without cygstart; see
|
" MSYS2/Git Bash comes by default without cygstart; see
|
||||||
" https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin
|
" https://www.msys2.org/wiki/How-does-MSYS2-differ-from-Cygwin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user