mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(inlay_hints): add notification for toggling
This commit is contained in:
parent
f086bcde25
commit
0c716fce4f
1 changed files with 6 additions and 0 deletions
|
|
@ -69,6 +69,12 @@ function M.inlay_hints(buf, value)
|
||||||
end
|
end
|
||||||
ih.enable(value, { bufnr = buf })
|
ih.enable(value, { bufnr = buf })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if value then
|
||||||
|
LazyVim.info("Enabled inlay_hints", { title = "inlay_hints" })
|
||||||
|
else
|
||||||
|
LazyVim.warn("Disabled inlay_hints", { title = "inlay_hints" })
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
setmetatable(M, {
|
setmetatable(M, {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue