Closed seqizz closed 3 years ago
It seems to be the recent OSCYankOperator
commit (fe67f649111dc15336c9905b9aee28e242add358). I use vim-plugged and I pinned my config to use the last working commit (e2a6ec4fb91b38591445bdaa9972f54653dbcd49), which you can try if Vundle supports it.
Sorry if it broke anything :/
I'm currently away from home and don't have access to a computer for the next 5 days unfortunately.
I'll try to fix this issue as soon as I get back home. Or if someone is willing to make a PR about it, it'd be welcome :)
same here on Debian 11, neovim 0.4.4 and vim-plug
I've reverted the commits that introduced the errors. The issue should be fixed now but the yank operator has been removed. I'll see if I can add it again without introducing any errors in the following days.
Hi all -- mea culpa. You're seeing that error because optional/default arguments were not supported until Vim 8.1.1310 (something I didn't realise when I was writing the patch). If you're using Vim >= 8.1.1310 (oe Neovim version) then this should work fine, otherwise I'd expect errors.
I think the patch will need to be updated to use Vim's ...
arguments for backward compatibility.
function! Foo(bar, ...)
let baz = get(a:, 1, 0)
endfunction
^ something like that.
@ojroques and others, apologies for the breakage!
Hey again folks -- proposed fix in #17, would anybody mind testing?
I've merged the fix. Feel free to re-open this issue if the problem persists.
Hi again :wave:
Since this is the most useful plugin I'm using currently, wanted to install it to a debian server, using Vundle, which failed with:
vim --version output is:
Thanks for any hints.