From 9b116316d99ac045e98216fd4ed5a95cd6583d5c Mon Sep 17 00:00:00 2001 From: Ray Jameson <67468725+RayJameson@users.noreply.github.com> Date: Thu, 13 Jul 2023 22:36:20 +0600 Subject: [PATCH] fix(mini-surround): Make which-key entry color blue, as it should be --- lua/astrocommunity/motion/mini-surround/init.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lua/astrocommunity/motion/mini-surround/init.lua b/lua/astrocommunity/motion/mini-surround/init.lua index e5d65932d..9d490b7a7 100644 --- a/lua/astrocommunity/motion/mini-surround/init.lua +++ b/lua/astrocommunity/motion/mini-surround/init.lua @@ -1,11 +1,12 @@ local prefix = "gz" +local maps = { n = {} } +local icon = vim.g.icons_enabled and "󰑤 " or "" +maps.n[prefix] = { desc = icon .. "Surround" } +require("astronvim.utils").set_mappings(maps) return { { "machakann/vim-sandwich", enabled = false }, { "echasnovski/mini.surround", - keys = { - { prefix, desc = "Surround" }, - }, opts = { mappings = { add = prefix .. "a", -- Add surrounding in Normal and Visual modes