mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-14 14:49:03 +02:00
fix(toggle): use new inlay_hint.enable()
signature (#3013)
This commit is contained in:
parent
7834d77ada
commit
5f92dc5304
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ function M.inlay_hints(buf, value)
|
||||||
if value == nil then
|
if value == nil then
|
||||||
value = not ih.is_enabled(buf)
|
value = not ih.is_enabled(buf)
|
||||||
end
|
end
|
||||||
ih.enable(buf, value)
|
ih.enable(value, { bufnr = buf })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue