Fix path resolution of diary notes (#442)

This commit is contained in:
blyoa 2018-04-03 04:34:21 +09:00 committed by EinfachToll
parent 1c4a9bb1af
commit a2a9f2e6ca

View File

@ -253,7 +253,12 @@ endfunction "}}}
" vimwiki#base#open_link
function! vimwiki#base#open_link(cmd, link, ...) "{{{
let link_infos = {}
if a:0
let link_infos = vimwiki#base#resolve_link(a:link, a:1)
else
let link_infos = vimwiki#base#resolve_link(a:link)
endif
if link_infos.filename == ''
echomsg 'Vimwiki Error: Unable to resolve link!'