vimwiki

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

commit b954923cbf26c4aff90b4dbde11e2113a5ea4157
parent 2dd9a153bcfc78bf7a6064b9f720677cb25d70c5
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date:   Mon, 18 Aug 2014 09:38:45 +0200

Fix jumping to an anchor in the very first line

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 @@ -759,7 +759,7 @@ function! s:jump_to_anchor(anchor) "{{{ let anchor_bold = substitute(g:vimwiki_{VimwikiGet('syntax')}_bold_match, \ '__Text__', "\\='".segment."'", '') - if !search(anchor_header, 'W') && !search(anchor_bold, 'W') + if !search(anchor_header, 'Wc') && !search(anchor_bold, 'Wc') call setpos('.', oldpos) break endif