mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 07:41:27 +00:00
If the LSP sends an end line that is larger than what nvim considers to be the last line, you get an Index out of bounds error when fetching the line from nvim, a change that was introduced in #12223. This change removes the strict indexing and checks the return value from nvim_buf_get_lines.