runtime(netrw): remove deprecated functions
closes: #17124 Signed-off-by: Luca Saccarola <github.e41mv@aleeas.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
b156588eb7
commit
839fd94265
17
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
17
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
@ -11379,23 +11379,6 @@ endfun
|
|||||||
|
|
||||||
" Deprecated: {{{1
|
" Deprecated: {{{1
|
||||||
|
|
||||||
function! netrw#Launch(args)
|
|
||||||
call netrw#msg#Deprecate('netrw#Launch', 'v180', {'vim': 'dist#vim9#Launch', 'nvim': 'vim.system'})
|
|
||||||
if !has('nvim')
|
|
||||||
call dist#vim9#Launch(args)
|
|
||||||
endif
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! netrw#Open(file)
|
|
||||||
call netrw#msg#Deprecate('netrw#Open', 'v180', {'vim': 'dist#vim9#Open', 'nvim': 'vim.ui.open'})
|
|
||||||
call netrw#os#Open(a:file)
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
function! netrw#WinPath(path)
|
|
||||||
call netrw#msg#Deprecate('netrw#WinPath', 'v180', {})
|
|
||||||
call netrw#fs#WinPath(a:path)
|
|
||||||
endfunction
|
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
" Settings Restoration: {{{1
|
" Settings Restoration: {{{1
|
||||||
" ==========================
|
" ==========================
|
||||||
|
|||||||
Reference in New Issue
Block a user