changeset 36546:e8747c7b9f22 draft

runtime(doc): improve indentation in examples for netrw-handler Commit: https://github.com/vim/vim/commit/9b05326afdb0359a2dd40470b2b47a6e422662e9 Author: Christian Brabandt <cb@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 <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Wed, 13 Nov 2024 17:30:08 +0100
parents 05c9d397b8b2
children 3bae991a240b
files runtime/doc/pi_netrw.txt
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/doc/pi_netrw.txt
+++ b/runtime/doc/pi_netrw.txt
@@ -1505,7 +1505,7 @@ For example, special handlers for links 
         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 
         return matchstr(getline('.')[col('.') - 1 : ],
           \ 'href=["'.."'"..']\?\zs\S\{-}\ze["'.."'"..']\?/\?>')
       endif
-    return ''
+      return ''
     finally
       call winrestview(save_view)
     endtry