Exclude '>' from url regex, including tables. Issue #481
This commit is contained in:
parent
50a3c78c87
commit
61d93fde7f
@ -646,7 +646,7 @@ function! vimwiki#vars#populate_syntax_vars(syntax)
|
|||||||
" let g:vimwiki_rxWeblink = '[\["(|]\@<!'. g:vimwiki_rxWeblinkUrl .
|
" let g:vimwiki_rxWeblink = '[\["(|]\@<!'. g:vimwiki_rxWeblinkUrl .
|
||||||
" \ '\%([),:;.!?]\=\%([ \t]\|$\)\)\@='
|
" \ '\%([),:;.!?]\=\%([ \t]\|$\)\)\@='
|
||||||
let g:vimwiki_syntax_variables[a:syntax].rxWeblink =
|
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
|
" 0a) match URL within URL
|
||||||
let g:vimwiki_syntax_variables[a:syntax].rxWeblinkMatchUrl =
|
let g:vimwiki_syntax_variables[a:syntax].rxWeblinkMatchUrl =
|
||||||
\ g:vimwiki_syntax_variables[a:syntax].rxWeblink
|
\ g:vimwiki_syntax_variables[a:syntax].rxWeblink
|
||||||
|
Loading…
Reference in New Issue
Block a user