Merge pull request #31204 from zeertzjq/vim-8b96858

vim-patch: doc updates
This commit is contained in:
zeertzjq
2024-11-14 08:08:35 +08:00
committed by GitHub

View File

@@ -1501,9 +1501,9 @@ 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 ''
finally finally
call winrestview(save_view) call winrestview(save_view)
return ''
endtry endtry
endfunction endfunction
@@ -1516,9 +1516,9 @@ 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 ''
finally finally
call winrestview(save_view) call winrestview(save_view)
return ''
endtry endtry
endfunction endfunction
< <