diff options
author | Amit Singh <29333147+amitds1997@users.noreply.github.com> | 2024-07-17 20:14:53 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-17 16:44:53 +0200 |
commit | e29f245a10821fcce454f7ede684aa0dd64efc33 (patch) | |
tree | ee0db4bb261bf3cea6cbf817daa6eadf62fa52b0 /src/nvim/viml/parser/expressions.c | |
parent | 0500804df52c64bd250a75ed94f4c414a85ca52b (diff) | |
download | rneovim-e29f245a10821fcce454f7ede684aa0dd64efc33.tar.gz rneovim-e29f245a10821fcce454f7ede684aa0dd64efc33.tar.bz2 rneovim-e29f245a10821fcce454f7ede684aa0dd64efc33.zip |
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.
Diffstat (limited to 'src/nvim/viml/parser/expressions.c')
0 files changed, 0 insertions, 0 deletions