mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:9b05326: runtime(doc): improve indentation in examples for netrw-handler
related: vim/vim#16043
9b05326afd
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
@@ -1501,7 +1501,7 @@ For example, special handlers for links Markdown and HTML are
|
|||||||
return matchstr(getline('.')[col('.')-1:],
|
return matchstr(getline('.')[col('.')-1:],
|
||||||
\ '\[.\{-}\](\zs' .. g:netrw_regex_url .. '\ze\(\s\+.\{-}\)\?)')
|
\ '\[.\{-}\](\zs' .. g:netrw_regex_url .. '\ze\(\s\+.\{-}\)\?)')
|
||||||
endif
|
endif
|
||||||
return ''
|
return ''
|
||||||
finally
|
finally
|
||||||
call winrestview(save_view)
|
call winrestview(save_view)
|
||||||
endtry
|
endtry
|
||||||
@@ -1516,7 +1516,7 @@ For example, special handlers for links Markdown and HTML are
|
|||||||
return matchstr(getline('.')[col('.') - 1 : ],
|
return matchstr(getline('.')[col('.') - 1 : ],
|
||||||
\ 'href=["'.."'"..']\?\zs\S\{-}\ze["'.."'"..']\?/\?>')
|
\ 'href=["'.."'"..']\?\zs\S\{-}\ze["'.."'"..']\?/\?>')
|
||||||
endif
|
endif
|
||||||
return ''
|
return ''
|
||||||
finally
|
finally
|
||||||
call winrestview(save_view)
|
call winrestview(save_view)
|
||||||
endtry
|
endtry
|
||||||
|
Reference in New Issue
Block a user