mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 16:39:06 +02:00
fix(lsp): supports_method for checking inlay hint support (#1195)
This commit is contained in:
parent
f6d646a325
commit
9a0543531d
1 changed files with 1 additions and 1 deletions
|
@ -123,7 +123,7 @@ return {
|
|||
|
||||
if opts.inlay_hints.enabled and inlay_hint then
|
||||
Util.on_attach(function(client, buffer)
|
||||
if client.server_capabilities.inlayHintProvider then
|
||||
if client.supports_method('textDocument/inlayHint') then
|
||||
inlay_hint(buffer, true)
|
||||
end
|
||||
end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue