michal-h21 / vim-zettel

VimWiki addon for managing notes according to Zettelkasten method
MIT License
555 stars 72 forks source link

Error when running ZettelInbox on Vimwiki dev branch #127

Open folofjc opened 2 years ago

folofjc commented 2 years ago

I have been using vim-zettel for a while, but have not yet tried ZettelInbox. I am running the latest of vim-zettel, and the dev branch on vimwiki.

I get the following error when I run :ZettelInbox:

Error detected while processing function zettel#vimwiki#inbox:
line    6:
E119: Not enough arguments for function: vimwiki#base#check_links

If I run :VimwikiCheckLinks the command works fine.

folofjc commented 2 years ago

Update: When running on master of vimwiki, it works fine. Maybe they changed the syntax of the command on dev? I updated the title to reflect this.

michal-h21 commented 2 years ago

Yes, it seems that they changed the required parameters for vimwiki#base#check_links in the develoment version of Vimwiki. It should be fixed now. But for some reason, it doesn't work well with my Markdown test wiki. All links have double .md.md extension. Hopefully, it is issue only on my side.

folofjc commented 2 years ago

Ha. Yes, I noticed this and submitted this issue about it already. They moved the g:vimwiki_markdown_link_ext variable to a per wiki variable and did not update the docs. Hopefully they will fix it on dev soon.

michal-h21 commented 2 years ago

Ah, hopefully they will fix it soon.