neovim / neovim-ruby

Ruby support for Neovim
MIT License
340 stars 17 forks source link

Fix buffer line index validations #98

Closed alexgenco closed 1 year ago

alexgenco commented 1 year ago

Fixes: https://github.com/neovim/neovim-ruby/issues/97

This is technically a breaking change for plugins that depend on index 0 returning the last line in the buffer, but IMO that behavior is pretty obviously incorrect and we should just fix it.