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

This commit is contained in:
Iordanis Petkakis authored and GitHub committed 2024-04-22 09:36:05 +02:00
1 parent 7834d77ada
commit 5f92dc5304
1 file changed
+1 -1
+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