mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
vim-patch:eda923e: runtime(netrw): do not detach when launching external programs in gvim
On Debian 12 when detaching the program wouldn't launch at all
closes: vim/vim#16168
eda923e9c9
Co-authored-by: Konfekt <Konfekt@users.noreply.github.com>
This commit is contained in:
parent
84d9f4f9f9
commit
d7b3add63e
@ -38,6 +38,7 @@
|
|||||||
" 2024 Nov 14 by Vim Project: small fixes to netrw#BrowseX (#16056)
|
" 2024 Nov 14 by Vim Project: small fixes to netrw#BrowseX (#16056)
|
||||||
" 2024 Nov 23 by Vim Project: update decompress defaults (#16104)
|
" 2024 Nov 23 by Vim Project: update decompress defaults (#16104)
|
||||||
" 2024 Nov 23 by Vim Project: fix powershell escaping issues (#16094)
|
" 2024 Nov 23 by Vim Project: fix powershell escaping issues (#16094)
|
||||||
|
" 2024 Dec 04 by Vim Project: do not detach for gvim (#16168)
|
||||||
" }}}
|
" }}}
|
||||||
" Former Maintainer: Charles E Campbell
|
" Former Maintainer: Charles E Campbell
|
||||||
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
" GetLatestVimScripts: 1075 1 :AutoInstall: netrw.vim
|
||||||
@ -5040,7 +5041,7 @@ if has('unix')
|
|||||||
endfun
|
endfun
|
||||||
else
|
else
|
||||||
fun! netrw#Launch(args)
|
fun! netrw#Launch(args)
|
||||||
exe ':silent ! nohup' a:args s:redir() '&' | redraw!
|
exe ':silent ! nohup' a:args s:redir() (has('gui_running') ? '' : '&') | redraw!
|
||||||
endfun
|
endfun
|
||||||
endif
|
endif
|
||||||
elseif has('win32')
|
elseif has('win32')
|
||||||
|
Loading…
Reference in New Issue
Block a user