fix: lazy-load icons

This commit is contained in:
Folke Lemaitre 2024-11-01 16:39:18 +01:00
parent 488ae9efb9
commit 5e1d88a165

View file

@ -29,8 +29,6 @@ return {
-- your own keymap. when defining your own, no keybinds will be assigned automatically.
keymap = "default",
kind_icons = LazyVim.config.icons.kinds,
highlight = {
-- sets the fallback highlight groups to nvim-cmp's highlight groups
-- useful for when your theme doesn't support blink.cmp
@ -63,6 +61,14 @@ return {
},
},
-- add icons
{
"saghen/blink.cmp",
opts = function(_, opts)
opts.kind_icons = LazyVim.config.icons.kinds
end,
},
-- lazydev
{
"saghen/blink.cmp",