commit 5a00028e6a22609940839d8aba7a3824e4106007
parent b016eab91a0f3854027834937a9317f8c5aef123
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date: Thu, 22 Feb 2018 20:55:10 +0100
Don't exit if there are no registered wikis
Vimwiki can handle that.
Ref #440
Diffstat:
1 file changed, 0 insertions(+), 5 deletions(-)
diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim
@@ -1176,11 +1176,6 @@ endfunction " }}}
" vimwiki#base#goto_index
function! vimwiki#base#goto_index(wnum, ...) "{{{
- if a:wnum > vimwiki#vars#number_of_wikis()
- echomsg 'Vimwiki Error: Wiki '.a:wnum.' is not registered in your Vimwiki settings!'
- return
- endif
-
" usually a:wnum is greater then 0 but with the following command it is == 0:
" vim -n -c ":VimwikiIndex"
if a:wnum > 0