runtime(doc): improve examples for netrw-handler functions Commit: https://github.com/vim/vim/commit/8b96858996c4bdc68c055d2ef4afa5f88eda455e Author: Christian Brabandt <c...@256bit.org> Date: Wed Nov 13 15:38:33 2024 +0100
runtime(doc): improve examples for netrw-handler functions fixes: https://github.com/vim/vim/issues/16043 Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index c82a1bdee..ae0fc65c9 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1,4 +1,4 @@ -*pi_netrw.txt* For Vim version 9.1. Last change: 2024 Nov 09 +*pi_netrw.txt* For Vim version 9.1. Last change: 2024 Nov 12 ------------------------------------------------ NETRW REFERENCE MANUAL by Charles E. Campbell @@ -1505,9 +1505,9 @@ For example, special handlers for links Markdown and HTML are return matchstr(getline('.')[col('.')-1:], \ '\[.\{-}\](\zs' .. g:netrw_regex_url .. '\ze\(\s\+.\{-}\)\?)') endif + return '' finally call winrestview(save_view) - return '' endtry endfunction @@ -1520,9 +1520,9 @@ For example, special handlers for links Markdown and HTML are return matchstr(getline('.')[col('.') - 1 : ], \ 'href=["'.."'"..']\?\zs\S\{-}\ze["'.."'"..']\?/\?>') endif + return '' finally call winrestview(save_view) - return '' endtry endfunction < -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1tBEcJ-0026l5-5O%40256bit.org.