vimwiki

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

commit 1d35ff035d20b18665e4e928b6c30a834d900f3d
parent c9af9c78073d91952752dacd106418fcec104eac
Author: Tinmarino <tinmarino@gmail.com>
Date:   Fri, 17 Mar 2023 03:59:05 -0300

Fix: Bug: VimwikiGoto without argument creates empty page (issue #1229)

Diffstat:
Mautoload/vimwiki/base.vim | 2+-
Mdoc/vimwiki.txt | 5++++-
2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/autoload/vimwiki/base.vim b/autoload/vimwiki/base.vim @@ -492,7 +492,7 @@ endfunction function! vimwiki#base#goto(...) abort " Jump: to other wikifile, specified on command mode " Called: by command VimwikiGoto (Exported) - let key = a:0 > 0 ? a:1 : input('Enter name: ', '', + let key = a:0 > 0 && a:1 !=# '' ? a:1 : input('Enter name: ', '', \ 'customlist,vimwiki#base#complete_links_escaped') let anchor = a:0 > 1 ? a:2 : '' diff --git a/doc/vimwiki.txt b/doc/vimwiki.txt @@ -4019,12 +4019,15 @@ master is retained as a legacy mirror of the dev branch. This is somewhat experimental, and will probably be refined over time. -Fixed:~ +New:~ * Issue #1261: Feature: Support for <mark> in Markdown highlighting with yellow background and back foreground * Issue #1274: Feature: Continue blockquote when <CR> is pressed in insert mode Also add the |blockquote_markers| variable + +Fixed:~ + * Issue #1229: Bug: VimwikiGoto without argument creates empty page * Issue #1316: Permit tags in heading * Issue #1270: VimwikiAddHeaderLevel map (3=) was broken by a previous refactoring commit