fix(api): adapt to upstream deprecations#1440
Conversation
|
@L3MON4D3 I don't understand the test failure. How old is the Nvim version you're testing here? |
seems 0.7.0 (Apr 15, 2022). Lines 6 to 18 in a62e108 |
|
That's way too old... It doesn't make sense to try to support anything older than 0.11, IMO. (I would make a PR, but the whole Nix CI pipeline is too much for me.) |
|
Hey @clason, TY for the PR :) I've added another small fix for the vimscript eval, let me know if you have any |
BREAKING CHANGE: if anyone is still on 0.7.0, just stick to the commit before this one.
|
Thank you! That was the one thing I was not sure about, so I appreciate your fixing my (too) aggressive change! (As a data point, I only include "stable" and "nightly" tags in CI; I try not to break the previous (stable-1) versions by intentionally dropping support, but I only guarantee coverage for those two.) |
Anytime, I'm pretty happy the tests caught it :)
Ah, that's reasonable, maybe I'll do it like this on future plugins :) |
vim.F.if_nilCloses #1436