From d410583e7d78a31b07c1c27497c594be82c86b68 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 14 Nov 2024 07:21:22 +0800 Subject: [PATCH] vim-patch:8b96858: runtime(doc): improve examples for netrw-handler functions fixes: vim/vim#16043 https://github.com/vim/vim/commit/8b96858996c4bdc68c055d2ef4afa5f88eda455e Co-authored-by: Christian Brabandt --- runtime/doc/pi_netrw.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/doc/pi_netrw.txt b/runtime/doc/pi_netrw.txt index 7602568c07..27beffd112 100644 --- a/runtime/doc/pi_netrw.txt +++ b/runtime/doc/pi_netrw.txt @@ -1501,9 +1501,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 @@ -1516,9 +1516,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 <