mirror of
https://github.com/neovim/neovim.git
synced 2026-04-21 23:05:41 +00:00
vim-patch:839fd94: runtime(netrw): remove deprecated functions
closes: vim/vim#17124
839fd94265
Co-authored-by: Luca Saccarola <github.e41mv@aleeas.com>
This commit is contained in:
17
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
17
runtime/pack/dist/opt/netrw/autoload/netrw.vim
vendored
@@ -11383,23 +11383,6 @@ endfun
|
||||
|
||||
" 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
|
||||
" ==========================
|
||||
|
||||
Reference in New Issue
Block a user