From 9a8f949758e95df5aa6ef6dab6d2b680cf2d699c Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Tue, 28 Jan 2025 08:53:44 -0600 Subject: [PATCH] blink: fallback to icon overrides when no mini icons available --- modules/nixvim/plugins/blink/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixvim/plugins/blink/default.nix b/modules/nixvim/plugins/blink/default.nix index a847eaf..04a713e 100644 --- a/modules/nixvim/plugins/blink/default.nix +++ b/modules/nixvim/plugins/blink/default.nix @@ -54,6 +54,11 @@ text.__raw = '' function(ctx) local kind_icon, _, _ = require('mini.icons').get('lsp', ctx.kind) + -- Check for both nil and the default fallback icon + if not kind_icon or kind_icon == '󰞋' then + -- Use our configured kind_icons + return require('blink.cmp.config').appearance.kind_icons[ctx.kind] or "" + end return kind_icon end, -- Optionally, you may also use the highlights from mini.icons