From 3dbdce33e56667c2ee1279f437c66553f31b32c3 Mon Sep 17 00:00:00 2001 From: TheSast <27977196+TheSast@users.noreply.github.com> Date: Wed, 12 Jul 2023 18:48:22 +0000 Subject: [PATCH] fix(grapple-nvim): Make which-key entry color blue, as it should be (#414) --- lua/astrocommunity/motion/grapple-nvim/init.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lua/astrocommunity/motion/grapple-nvim/init.lua b/lua/astrocommunity/motion/grapple-nvim/init.lua index b27b7e068..215923013 100644 --- a/lua/astrocommunity/motion/grapple-nvim/init.lua +++ b/lua/astrocommunity/motion/grapple-nvim/init.lua @@ -1,10 +1,13 @@ local prefix = "" +local maps = { n = {} } +local icon = vim.g.icons_enabled and "󱡀 " or "" +maps.n[prefix] = { desc = icon .. "Grapple" } +require("astronvim.utils").set_mappings(maps) return { "cbochs/grapple.nvim", dependencies = { "nvim-lua/plenary.nvim" }, cmd = { "Grapple" }, keys = { - { prefix, desc = "Grapple" }, { prefix .. "a", "GrappleTag", desc = "Add file" }, { prefix .. "d", "GrappleUntag", desc = "Remove file" }, { prefix .. "t", "GrappleToggle", desc = "Toggle a file" },