Fix a regexp that is matched really slow in Vim 7.4

This is a bug in Vim's new regexp engine I already reported.
It causes a remarkable slowdown.
This commit is contained in:
EinfachToll 2013-08-13 09:11:59 +02:00
parent 1c88deeee0
commit a4e168fb6e

View File

@ -151,7 +151,7 @@ let g:vimwiki_rxWikiInclSuffix1 = g:vimwiki_rxWikiInclArgs.
" the whitespace. " the whitespace.
" Stuart, could you check it with markdown templated links? [](http://...), as " Stuart, could you check it with markdown templated links? [](http://...), as
" the last bracket is the part of URL now? " the last bracket is the part of URL now?
let g:vimwiki_rxWeblink = '[[:alnum:]]\@<!'. g:vimwiki_rxWeblinkUrl . '\S*' let g:vimwiki_rxWeblink = '\<'. g:vimwiki_rxWeblinkUrl . '\S*'
" 0a) match URL within URL " 0a) match URL within URL
let g:vimwiki_rxWeblinkMatchUrl = g:vimwiki_rxWeblink let g:vimwiki_rxWeblinkMatchUrl = g:vimwiki_rxWeblink
" 0b) match DESCRIPTION within URL " 0b) match DESCRIPTION within URL