vimwiki

Personal wiki for vim
git clone https://github.com/vimwiki/vimwiki.git
Log | Files | Refs | README | LICENSE

commit a4e168fb6e5456f2ba48da6c3b5a5aaf6f060db0
parent 1c88deeee0682b508a419640f4eb353ed014f755
Author: EinfachToll <istjanichtzufassen@googlemail.de>
Date:   Tue, 13 Aug 2013 09:11:59 +0200

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.

Diffstat:
Msyntax/vimwiki.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/syntax/vimwiki.vim b/syntax/vimwiki.vim @@ -151,7 +151,7 @@ let g:vimwiki_rxWikiInclSuffix1 = g:vimwiki_rxWikiInclArgs. " the whitespace. " Stuart, could you check it with markdown templated links? [](http://...), as " 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 let g:vimwiki_rxWeblinkMatchUrl = g:vimwiki_rxWeblink " 0b) match DESCRIPTION within URL