Updated plugins

This commit is contained in:
Amir committed 2023-07-15 12:43:27 +02:00
1 parent 68cf3c02e2
commit 747d4093f4
52 files changed
+767 -165

No files matched your search

@@ -656,7 +656,12 @@ endfunction
function! s:OpenUrlUnderCursor()
let l:url = s:Markdown_GetUrlForPosition(line('.'), col('.'))
if l:url !=# ''
call s:VersionAwareNetrwBrowseX(l:url)
if l:url =~? 'http[s]\?:\/\/[[:alnum:]%\/_#.-]*'
"Do nothing
else
let l:url = expand(expand('%:h').'/'.l:url)
endif
call s:VersionAwareNetrwBrowseX(l:url)
else
echomsg 'The cursor is not on a link.'
endif