diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim index 4013dda..8eb6397 100644 --- a/autoload/vimwiki/base.vim +++ b/autoload/vimwiki/base.vim @@ -95,7 +95,6 @@ function! vimwiki#base#find_wiki(path) let bestmatch = idx endif endif - let idx += 1 endfor return bestmatch