From: Christian Brabandt Date: Wed, 13 Nov 2024 14:38:33 +0000 (+0100) Subject: runtime(doc): improve examples for netrw-handler functions X-Git-Tag: v9.1.0862~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b96858996c4bdc68c055d2ef4afa5f88eda455e;p=thirdparty%2Fvim.git runtime(doc): improve examples for netrw-handler functions fixes: #16043 Signed-off-by: Christian Brabandt --- diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index c82a1bdeeb..ae0fc65c91 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 <