michal-h21 / vim-zettel

VimWiki addon for managing notes according to Zettelkasten method
MIT License
557 stars 73 forks source link

Make #vimwiki#make_random_chars compatible to Vim 8.1 #84

Closed bwildenhain closed 2 years ago

bwildenhain commented 3 years ago

Now generates random on vim releases prior to 8.2 without depending on lua.

Fixes #81.

interfect commented 3 years ago

@bwildenhain, how would one go about installing your fork of the plugin, as a workaround for #99?

NeuroWinter commented 3 years ago

I manually added this code to my branch, and it seemed to fix the problem specified in #99

CaydenPierce commented 2 years ago

I changed my vimrc to track this PR, it fixed the issue when running :ZettelBackLinks of:

Unknown function: srand

Thanks @bwildenhain

edgester commented 2 years ago

This plugin fixes the errors I got when using "z" in visual mode on Ubuntu 20.04. I'm still new to vim-zettel, so I haven't had a chance to test much else.

blackgeorge-boom commented 2 years ago

@bwildenhain Thank you for this!