mirror of
https://github.com/neovim/neovim.git
synced 2026-08-01 05:09:08 +00:00
fix(lsp): improve inlayHint.resolveSupport in client capabilities #40741
Problem
The current list of properties for inlay hint resolve support includes a
non-existent "location". This field should be "label.location" according
to the specification. Tooltips and commands for inlay hint "parts"
aren't advertised as being resolvable.
Solution
Remove "location" and add "label.location", "label.tooltip", and
"label.command".
Closes #40740
(cherry picked from commit 4bc30d6e10)
This commit is contained in:
committed by
github-actions[bot]
parent
68e0b78ce3
commit
d2b217b043
@@ -366,8 +366,10 @@ function protocol.make_client_capabilities()
|
||||
properties = {
|
||||
'textEdits',
|
||||
'tooltip',
|
||||
'location',
|
||||
'command',
|
||||
'label.location',
|
||||
'label.tooltip',
|
||||
'label.command',
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user