commit 28af35bcfe8031c9f39768cd853b8f71f2717818
parent 6b0be583927c4a20984d2235ae30e4777c346443
Author: Ivan Tishchenko <ivan.tishchenko@dsr-company.con>
Date: Sat, 10 Jan 2015 16:12:40 +0300
Fix collecting anchors -- bold anchors were added to the list twice
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 == ''