From 5e1d88a165d5e26066e0c7b29642170873a6c90e Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Fri, 1 Nov 2024 16:39:18 +0100 Subject: [PATCH] fix: lazy-load icons --- lua/lazyvim/plugins/extras/coding/blink.lua | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lua/lazyvim/plugins/extras/coding/blink.lua b/lua/lazyvim/plugins/extras/coding/blink.lua index 2fe56940..a735012e 100644 --- a/lua/lazyvim/plugins/extras/coding/blink.lua +++ b/lua/lazyvim/plugins/extras/coding/blink.lua @@ -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",