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:
parent
a85a39fc40
commit
41d460284e
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue