nvim: Fix updated wiki.vim link function

Changed function to accomodate internal change in wiki.vim naming for
the link parsing function.

See wiki.vim commit d085c138fd4cd33abeb93f1c1afaff1210c7c33b.
This commit is contained in:
Marty Oehme 2020-09-28 19:17:40 +02:00
parent a85a39fc40
commit 41d460284e
Signed by: Marty
GPG key ID: B7538B8F50A1C800

View file

@ -62,7 +62,7 @@ command! -nargs=1 ZettelOpen execute ":e " . s:GetZettelPath(<q-args>)
" Uses the Zettel Anchor ID instead of the whole link structure to traverse " Uses the Zettel Anchor ID instead of the whole link structure to traverse
" the whole Wiki directory from its root and opens first fitting Zettel " the whole Wiki directory from its root and opens first fitting Zettel
function! ZettelOpenAtCursor(...) abort function! ZettelOpenAtCursor(...) abort
let l:link = wiki#link#get_at_cursor() let l:link = wiki#link#get()
try try
let l:zettel = s:GetZettelPath( s:ExtractZettelAnchor(l:link.url) ) let l:zettel = s:GetZettelPath( s:ExtractZettelAnchor(l:link.url) )