diff --git a/nvim/.config/nvim/plugin/wiki.vim b/nvim/.config/nvim/plugin/wiki.vim index 289ba82..6fd5d57 100644 --- a/nvim/.config/nvim/plugin/wiki.vim +++ b/nvim/.config/nvim/plugin/wiki.vim @@ -62,7 +62,7 @@ command! -nargs=1 ZettelOpen execute ":e " . s:GetZettelPath() " 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 function! ZettelOpenAtCursor(...) abort - let l:link = wiki#link#get_at_cursor() + let l:link = wiki#link#get() try let l:zettel = s:GetZettelPath( s:ExtractZettelAnchor(l:link.url) )