neovim/runtime/lua/vim/lsp
Tristan Knight 80e37aa533
fix(lsp): str_byteindex_enc bounds checking #30747
Problem:
Previously the index was only checked against the UTF8 length. This
could cause unexpected behaviours for strings containing multibyte chars

Solution:
Check indicies correctly against their max value before returning the
fallback length
2024-10-16 09:12:19 -07:00
..
_meta docs(lsp): annotate with vim.lsp.protocol.Methods enum #29521 2024-08-20 05:52:14 -07:00
_changetracking.lua fix(lsp): revert buf_versions deprecation/replacement (#29217) 2024-06-07 11:36:46 +02:00
_dynamic.lua refactor(lua): improve type annotations 2024-06-11 12:45:43 +01:00
_meta.lua fix(lsp): clean up duplicate and unused meta type annotations 2024-01-20 14:02:16 +01:00
_snippet_grammar.lua feat(lsp): add snippet API (#25301) 2023-10-21 08:51:26 +02:00
_tagfunc.lua fix(lsp): fix infinite loop on vim.lsp.tagfunc 2024-02-03 17:47:56 -05:00
_watchfiles.lua feat(lsp): drop fswatch, use inotifywait (#29374) 2024-07-06 11:44:19 +02:00
buf.lua docs(lsp): hover window controls #30347 2024-09-19 08:00:08 -07:00
client.lua refactor(api)!: rename Dictionary => Dict 2024-09-23 14:42:57 +02:00
codelens.lua fix(lsp): don't show codelens for buffers that don't support it (#29690) 2024-07-16 19:48:54 +02:00
completion.lua docs: update autotrigger description of vim.lsp.compleiton.BufferOpts (#30796) 2024-10-13 12:44:05 +02:00
diagnostic.lua feat(lsp): export diagnostic conversion functions (#30064) 2024-08-27 13:16:33 -05:00
handlers.lua fix(lsp): handle multiline signature help labels #30460 2024-10-15 02:36:04 -07:00
health.lua feat(lsp): drop fswatch, use inotifywait (#29374) 2024-07-06 11:44:19 +02:00
inlay_hint.lua fix(lsp): check buffer is loaded and valid #30330 2024-09-11 08:11:09 -07:00
log.lua fix(lsp): redundant spaces in lsp log (#29970) 2024-08-03 11:14:34 +02:00
protocol.lua fix(lsp): enable additionalPropertiesSupport 2024-10-04 12:22:46 +02:00
rpc.lua docs: improve luacats support #30580 2024-10-03 03:45:51 -07:00
semantic_tokens.lua fix(lsp): handle out-of-bounds character positions #30288 2024-09-08 03:44:46 -07:00
sync.lua fix(lsp): prevent desync due to empty buffer (#29904) 2024-07-31 16:18:24 +02:00
util.lua fix(lsp): str_byteindex_enc bounds checking #30747 2024-10-16 09:12:19 -07:00