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
+1 -1
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