michal-h21 / vim-zettel

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

Match the changed API of vimwiki#base#check_links #122

Closed EdJoJob closed 2 years ago

EdJoJob commented 2 years ago

The change was in vimwiki/vimwiki@dede5a1eeaa13474beedd07427ad2869ebe4ca7a to allow it to work on the current wiki or a range of lines

This change ensures it runs only on the current vimwiki, as was the case before the API change.

michal-h21 commented 2 years ago

Thanks! I've added a test that uses this change only when you use the development version of Vimwiki, because you would get an error when you run the stable Vimwiki version. I hope it works for both cases now.