mirror of
https://github.com/neovim/neovim.git
synced 2024-12-26 14:11:15 -07:00
345bd91db2
Fixes #24339 rust-analyzer sends "Invalid offset" error in such cases. Some other servers handle it specially. LSP spec mentions that "A range is comparable to a selection in an editor". Most editors don't handle trailing newlines the same way Neovim/Vim does, it's clearly visible if it's present or not. With that in mind it's understandable why sending end position as simply the start of the line after the last one is considered invalid in such cases. |
||
---|---|---|
.. | ||
lsp | ||
ccomplete_spec.lua | ||
cfilter_spec.lua | ||
editorconfig_spec.lua | ||
health_spec.lua | ||
lsp_spec.lua | ||
man_spec.lua | ||
matchparen_spec.lua | ||
msgpack_spec.lua | ||
shada_spec.lua |