neovim/test/functional/plugin/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
..
codelens_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
completion_spec.lua fix(lsp): fallback to label for completion items if all others are missing (#29522) 2024-07-02 18:27:51 +02:00
diagnostic_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
handler_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
incremental_sync_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
inlay_hint_spec.lua fix(lsp): inlay hints are rendered in the correct order (#29707) 2024-07-17 16:44:53 +02:00
semantic_tokens_spec.lua refactor(lsp): use metatable for buf_versions (#29304) 2024-06-14 11:03:58 +02:00
snippet_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testutil.lua fix(lsp): check if buffer was detached in on_init callback (#28914) 2024-05-23 15:17:53 +02:00
utils_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00