neovim/runtime/lua/vim
Rishikesh Vaishnav 9625832372
fix(lsp): fix nil-index behavior for UTF-8 in _str_*index_enc methods (#16731)
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).
2021-12-20 08:54:05 -08:00
..
lsp fix(lsp): fix nil-index behavior for UTF-8 in _str_*index_enc methods (#16731) 2021-12-20 08:54:05 -08:00
treesitter feat(treesitter): multiline match predicates 2021-12-12 12:16:42 +00:00
_meta.lua refactor: remove unused runtime lua functions (#16535) 2021-12-05 19:11:20 +01:00
compat.lua runtime/lua/vim/compat.lua 2018-12-20 11:57:30 +01:00
diagnostic.lua fix(diagnostic): respect "if_many" source option for virtual text (#16653) 2021-12-17 19:38:33 -07:00
F.lua chore: fix typos (#16361) 2021-11-27 11:10:48 -05:00
highlight.lua fix(lua): verify buffer in highlight.on_yank (#15482) 2021-08-26 16:37:36 +02:00
inspect.lua lua: metatable for empty dict value 2020-01-01 19:26:29 +01:00
lsp.lua fix(lsp): avoid attaching to unloaded buffers (#16723) 2021-12-19 12:49:56 -08:00
shared.lua docs(lsp): add annotations for private functions 2021-11-30 09:03:41 +01:00
treesitter.lua chore: fix typos (#16361) 2021-11-27 11:10:48 -05:00
ui.lua feat(ui): add vim.ui.input and use in lsp rename (#15959) 2021-11-07 07:13:53 -08:00
uri.lua fix(uri): use valid EmmyLua annotations (#16359) 2021-11-18 21:12:21 +01:00