Exclude '>' from url regex, including tables. Issue #481

This commit is contained in:
Rane Brown 2019-04-30 06:11:51 -06:00
parent 50a3c78c87
commit 61d93fde7f

View File

@ -646,7 +646,7 @@ function! vimwiki#vars#populate_syntax_vars(syntax)
" let g:vimwiki_rxWeblink = '[\["(|]\@<!'. g:vimwiki_rxWeblinkUrl .
" \ '\%([),:;.!?]\=\%([ \t]\|$\)\)\@='
let g:vimwiki_syntax_variables[a:syntax].rxWeblink =
\ '\<'. g:vimwiki_global_vars.rxWeblinkUrl . '\S*[^>]'
\ '\<'. g:vimwiki_global_vars.rxWeblinkUrl . '[^[:space:]>]*'
" 0a) match URL within URL
let g:vimwiki_syntax_variables[a:syntax].rxWeblinkMatchUrl =
\ g:vimwiki_syntax_variables[a:syntax].rxWeblink