Merge pull request #106 from t7ko/get_anchors-bugfix

Bold anchors were duplicated in get_anchors() results
This commit is contained in:
EinfachToll 2015-01-12 10:06:09 +01:00
commit 43cad87426

View File

@ -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 == ''