From 28af35bcfe8031c9f39768cd853b8f71f2717818 Mon Sep 17 00:00:00 2001 From: Ivan Tishchenko Date: Sat, 10 Jan 2015 16:12:40 +0300 Subject: [PATCH] Fix collecting anchors -- bold anchors were added to the list twice --- autoload/vimwiki/base.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim index dceb57d..5696a1f 100644 --- a/autoload/vimwiki/base.vim +++ b/autoload/vimwiki/base.vim @@ -651,7 +651,7 @@ function! vimwiki#base#get_anchors(filename, syntax) "{{{ endif " collect bold text (there can be several in one line) - let bold_count = 0 + let bold_count = 1 while 1 let bold_text = matchstr(line, rxbold, 0, bold_count) if bold_text == ''