]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(doc): improve indentation in examples for netrw-handler
authorChristian Brabandt <cb@256bit.org>
Wed, 13 Nov 2024 16:14:39 +0000 (17:14 +0100)
committerChristian Brabandt <cb@256bit.org>
Wed, 13 Nov 2024 16:14:39 +0000 (17:14 +0100)
related: #16043

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/pi_netrw.txt

index ae0fc65c9191310a22a17edb91823aa981771d4c..a783fe9ac30e79b95e57c5bc8b9e8da6fb5a9cab 100644 (file)
@@ -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