diff options
author | Andreas Johansson <ndreas@users.noreply.github.com> | 2020-05-17 19:47:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-17 13:47:14 -0400 |
commit | 4fbbe1c957509393563be9492d03b9e95bb08e6a (patch) | |
tree | 3b2b4d93df88f1c7a95ae589f60f692162fc65f3 /scripts/gen_vimdoc.py | |
parent | ae5bd0454ee4ed3bdbf22e953a216449ca34dd46 (diff) | |
download | rneovim-4fbbe1c957509393563be9492d03b9e95bb08e6a.tar.gz rneovim-4fbbe1c957509393563be9492d03b9e95bb08e6a.tar.bz2 rneovim-4fbbe1c957509393563be9492d03b9e95bb08e6a.zip |
lsp: Handle end lines in apply_text_edits (#12314)
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.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions