Commit: runtime(doc): improve indentation in examples for netrw-handler

1 view
Skip to first unread message

Christian Brabandt

unread,
Nov 13, 2024, 11:30:17 AM11/13/24
to vim...@googlegroups.com
runtime(doc): improve indentation in examples for netrw-handler

Commit: https://github.com/vim/vim/commit/9b05326afdb0359a2dd40470b2b47a6e422662e9
Author: Christian Brabandt <c...@256bit.org>
Date: Wed Nov 13 17:14:39 2024 +0100

runtime(doc): improve indentation in examples for netrw-handler

related: 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 ae0fc65c9..a783fe9ac 100644
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -1505,7 +1505,7 @@ For example, special handlers for links Markdown and HTML are
return matchstr(getline('.')[col('.')-1:],
\ '\[.\{-}\](\zs' .. g:netrw_regex_url .. '\ze\(\s\+.\{-}\)\?)')
endif
- return ''
+ return ''
finally
call winrestview(save_view)
endtry
@@ -1520,7 +1520,7 @@ For example, special handlers for links Markdown and HTML are
return matchstr(getline('.')[col('.') - 1 : ],
\ 'href=["'.."'"..']\?\zs\S\{-}\ze["'.."'"..']\?/\?>')
endif
- return ''
+ return ''
finally
call winrestview(save_view)
endtry
Reply all
Reply to author
Forward
0 new messages