instant.nvim icon indicating copy to clipboard operation
instant.nvim copied to clipboard

Doesn't work in neovim 0.4.4

Open Vftdan opened this issue 1 year ago • 3 comments

vim.g is nil in neovim 0.4.4

E5108: Error while calling lua chunk for luaeval(): ...vftdan/.config/nvim/plugged/instant.nvim/lua/instant.lua:99: attempt to index field 'g' (a nil value)

Vftdan avatar Mar 09 '23 18:03 Vftdan

The current stable version of NeoVIM is v0.8.3.

I'm not the developer of this plugin, but I would not expect actively developed plugins using modern editor features to be backwards compatible that far. That's a long way back and NeoVIM has done a ton of work that give a lot more power and convenience to plugins.

If you want plugins that work with such an old editor you will probably need to lookup the release date of the editor and then checkout old versions of plugins from the same general time range, maybe up until the release date of the next major version.

alerque avatar Mar 09 '23 19:03 alerque

Plugin claims to require version 0.4.4 at least and it doesn't work on it. Maybe README is outdated?

hatkidchan avatar Mar 09 '23 19:03 hatkidchan

Yes, I would expect the README is outdated and the easiest "fix" for this issue is to figure out what the actual minimum NeoVIM is these days.

alerque avatar Mar 09 '23 19:03 alerque