vimwiki

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

commit 88b61f4e3007c9e3f682c9d590819a4da4a5e4db
parent 8167c65499bb2eb9bdfd6658b5e02952d681a1eb
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date:   Mon, 14 Apr 2014 13:11:26 +0200

Fix jumping to anchor sometimes not working

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

diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim @@ -681,7 +681,7 @@ function! s:jump_to_anchor(anchor) "{{{ let anchor_bold = substitute(g:vimwiki_{VimwikiGet('syntax')}_bold_match, \ '__Text__', "\\='".segment."'", '') - if !search(anchor_header, 'c') && !search(anchor_bold, 'c') + if !search(anchor_header, 'W') && !search(anchor_bold, 'W') call setpos('.', oldpos) break endif