commit 43cad8742696047cf13112ec01ef0d23008c9996
parent 8f24644967fc5b482e3eaba8ec7398ac3f6ca4fc
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Mon, 12 Jan 2015 10:06:09 +0100
Merge pull request #106 from t7ko/get_anchors-bugfix
Bold anchors were duplicated in get_anchors() results
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 == ''