Merge pull request #850 from ubitux/remove-extra-echom-idx

Remove unecessary echom idx cruft
This commit is contained in:
Rane Brown 2020-04-06 08:50:47 -06:00 committed by GitHub
commit dee6a88929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1404,7 +1404,6 @@ function! vimwiki#base#goto_index(wnum, ...) abort
" if wnum = 0 the current wiki is used " if wnum = 0 the current wiki is used
if a:wnum == 0 if a:wnum == 0
let idx = vimwiki#vars#get_bufferlocal('wiki_nr') let idx = vimwiki#vars#get_bufferlocal('wiki_nr')
echom idx
if idx < 0 " not in a wiki if idx < 0 " not in a wiki
let idx = 0 let idx = 0
endif endif