vimwiki

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

commit 52f3bf7c3bda9479e99dace1f8d86b965b9ba48f
parent 16b9e45b03baa377cee807f2bef7d97682e8bad6
Author: EinfachToll <istjanichtzufassen@googlemail.com>
Date:   Sun, 25 Mar 2018 21:51:08 +0200

Don't throw errors when the user presses 123\ww

This reverts commit 5a00028e6a22609940839d8aba7a3824e4106007.

Diffstat:
Mautoload/vimwiki/base.vim | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim @@ -1180,6 +1180,11 @@ 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