mirror of
https://github.com/neovim/neovim.git
synced 2024-12-21 19:55:04 -07:00
9625832372
Previously, the `_str_utfindex_enc` and `_str_byteindex_enc` helper functions would return `nil` when `offset_encoding == "utf-8"` and `index == nil`. Clearly, this doesn't reflect the expected behavior of the functions they're wrapping which would return the length of the line in this case. This should fix behavior with servers that use UTF-8 `offset_encoding` when applying text edits, formatting a range, and doing range code actions (though this isn't tested currently). |
||
---|---|---|
.. | ||
lsp | ||
treesitter | ||
_meta.lua | ||
compat.lua | ||
diagnostic.lua | ||
F.lua | ||
highlight.lua | ||
inspect.lua | ||
lsp.lua | ||
shared.lua | ||
treesitter.lua | ||
ui.lua | ||
uri.lua |