fix(toggle): use new inlay_hint.enable() signature (#3013)

This commit is contained in:
Iordanis Petkakis 2024-04-22 10:36:05 +03:00 committed by GitHub
parent 7834d77ada
commit 5f92dc5304
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -67,7 +67,7 @@ function M.inlay_hints(buf, value)
if value == nil then
value = not ih.is_enabled(buf)
end
ih.enable(buf, value)
ih.enable(value, { bufnr = buf })
end
end