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:
parent
35af13c1ef
commit
c73107dc10
@ -2182,7 +2182,7 @@ function! vimwiki#base#normalize_link_in_diary(lnk) abort
|
|||||||
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
|
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
|
||||||
elseif link_exists_in_diary
|
elseif link_exists_in_diary
|
||||||
let str = a:lnk
|
let str = a:lnk
|
||||||
let rxUrl = vimwiki#vars#get_global('rxWord')
|
let rxUrl = '.*'
|
||||||
let rxDesc = ''
|
let rxDesc = ''
|
||||||
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
|
let template = vimwiki#vars#get_global('WikiLinkTemplate1')
|
||||||
elseif link_exists_in_wiki
|
elseif link_exists_in_wiki
|
||||||
|
Loading…
Reference in New Issue
Block a user