winston0410 / range-highlight.nvim

An extremely lightweight plugin (~ 120loc) that hightlights ranges you have entered in commandline.
MIT License
203 stars 5 forks source link

range-highlight seems to require NeoVim 0.5+ #5

Closed andrewferrier closed 3 years ago

andrewferrier commented 3 years ago

It seems that range-highlight requires NeoVim 0.5+. If I start it on NeoVim 0.4.4, I get:

E5105: Error while calling lua chunk: .../start/range-highlight.nvim/lua/range-highlight/init.lua:148: attempt to call field 'nvim_exec' (a nil value)

It would be good to include this in the README and/or provide an explicit check when starting range-highlight.

winston0410 commented 3 years ago

Hi Andrew thank you for reporting. This plugin does require nvim 0.5.0. It will be great if you could help out and add that for me in the readme.

andrewferrier commented 3 years ago

Sure, happy to do so. Can I respectfully suggest not closing valid bugs, though, until they're fixed? It does somewhat discourage people from contributing :)

Thanks for all your great work on the plugin.

andrewferrier commented 3 years ago

Added pull req: https://github.com/winston0410/range-highlight.nvim/pull/7