Fix for Issue #807

creating a new link to an existing page in the diary path now uses the full page name instead of just the first word.
This commit is contained in:
Stefan Lehmann 2020-01-19 17:04:53 +01:00 committed by Tinmarino
parent 35af13c1ef
commit c73107dc10
1 changed files with 1 additions and 1 deletions

View File

@ -2182,7 +2182,7 @@ function! vimwiki#base#normalize_link_in_diary(lnk) abort
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
elseif link_exists_in_diary
let str = a:lnk
let rxUrl = vimwiki#vars#get_global('rxWord')
let rxUrl = '.*'
let rxDesc = ''
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
elseif link_exists_in_wiki