diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2021-02-20 04:20:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-19 22:20:42 -0500 |
commit | 1caf58578c6e4b30c18fa56804dd905b5472b460 (patch) | |
tree | 918cd3895cae191da2ed50c6114b0dfa4c8ffb8c /runtime/lua/vim/lsp/callbacks.lua | |
parent | b2fcfc65b7181cfb519ce1f827cb62f1120de5a0 (diff) | |
download | rneovim-1caf58578c6e4b30c18fa56804dd905b5472b460.tar.gz rneovim-1caf58578c6e4b30c18fa56804dd905b5472b460.tar.bz2 rneovim-1caf58578c6e4b30c18fa56804dd905b5472b460.zip |
lsp: Fix text edits operating on the last line of a document (#13677)
`lines` can be empty, in which case `#lines[#lines]` failed with an
error:
lsp/util.lua:214: attempt to get length of a nil value
Diffstat (limited to 'runtime/lua/vim/lsp/callbacks.lua')
0 files changed, 0 insertions, 0 deletions