Commit: runtime(netrw): remove deprecated functions

4 views
Skip to first unread message

Christian Brabandt

unread,
Apr 15, 2025, 2:30:15 PM4/15/25
to vim...@googlegroups.com
runtime(netrw): remove deprecated functions

Commit: https://github.com/vim/vim/commit/839fd942654b2a7c90ad0633b1c8bb9da4094cbb
Author: Luca Saccarola <github...@aleeas.com>
Date: Tue Apr 15 20:28:09 2025 +0200

runtime(netrw): remove deprecated functions

closes: https://github.com/vim/vim/issues/17124

Signed-off-by: Luca Saccarola <github...@aleeas.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/pack/dist/opt/netrw/autoload/netrw.vim b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
index 520a3f605..f28411704 100644
--- a/runtime/pack/dist/opt/netrw/autoload/netrw.vim
+++ b/runtime/pack/dist/opt/netrw/autoload/netrw.vim
@@ -11379,23 +11379,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
" ==========================
Reply all
Reply to author
Forward
0 new messages