From 41d460284e54579efe1f9456001a9f0545b0a07f Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Mon, 28 Sep 2020 19:17:40 +0200 Subject: [PATCH] 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. --- nvim/.config/nvim/plugin/wiki.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) )