feat(keymaps): dynamic which-key icons/descriptions for toggles

This commit is contained in:
Folke Lemaitre 2024-07-15 13:25:32 +02:00
parent 6911327a5e
commit 82a3ccc4d6
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
5 changed files with 192 additions and 115 deletions

View file

@ -150,7 +150,7 @@ return {
and vim.bo[buffer].buftype == ""
and not vim.tbl_contains(opts.inlay_hints.exclude, vim.bo[buffer].filetype)
then
LazyVim.toggle.inlay_hints(buffer, true)
vim.lsp.inlay_hint.enable(true, { bufnr = buffer })
end
end)
end