neovim/runtime/lua/vim/lsp
Amit Singh e29f245a10
fix(lsp): inlay hints are rendered in the correct order (#29707)
Problem:
When there are multiple inlay hints present at the same position, they
should be rendered in the order they are received in the response from
LSP as per the LSP spec. Currently, this is not respected.

Solution:
Gather all hints for a given position, and then set it in a single
extmark call instead of multiple set_extmark calls. This leads to fewer
extmark calls and correct inlay hints being rendered.
2024-07-17 16:44:53 +02:00
..
_meta refactor(lsp): use tuple syntax in generated protocol types (#29110) 2024-05-31 16:48:05 +02: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 feat(lsp): vim.lsp.buf.format() supports textDocument/rangesFormatting #27323 2024-06-24 07:54:56 -07:00
client.lua refactor(lsp): use metatable for buf_versions (#29304) 2024-06-14 11:03:58 +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 fix(lsp): fallback to label for completion items if all others are missing (#29522) 2024-07-02 18:27:51 +02:00
diagnostic.lua fix(lsp): actually send diagnostic-tags back to the server 2024-03-06 11:12:41 +00:00
handlers.lua refactor(lua): improve type annotations 2024-06-11 12:45:43 +01:00
health.lua feat(lsp): drop fswatch, use inotifywait (#29374) 2024-07-06 11:44:19 +02:00
inlay_hint.lua fix(lsp): inlay hints are rendered in the correct order (#29707) 2024-07-17 16:44:53 +02:00
log.lua refactor(lua): improve type annotations 2024-06-11 12:45:43 +01:00
protocol.lua feat(lsp): vim.lsp.buf.format() supports textDocument/rangesFormatting #27323 2024-06-24 07:54:56 -07:00
rpc.lua fix(lsp): check for nil response from server (#29196) 2024-06-14 11:02:36 +02:00
semantic_tokens.lua refactor(lsp): use metatable for buf_versions (#29304) 2024-06-14 11:03:58 +02:00
sync.lua feat(docs): replace lua2dox.lua 2024-02-27 14:41:17 +00:00
util.lua refactor: use vim._with where possible 2024-06-28 19:58:31 +02:00