Skip to content

Commit

Permalink
fix(harpoon): Make which-key entry color blue, as it should be (#376)
Browse files Browse the repository at this point in the history
  • Loading branch information
RayJameson authored Jul 7, 2023
1 parent d524d1e commit 8f829a3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/astrocommunity/motion/harpoon/init.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
local prefix = "<leader><leader>"
local term_string = vim.fn.exists "$TMUX" == 1 and "tmux" or "terminal"
local maps = { n = {} }
local icon = vim.g.icons_enabled and "󱡀 " or ""
maps.n[prefix] = { desc = icon .. "Harpoon" }
require("astronvim.utils").set_mappings(maps)
return {
"ThePrimeagen/harpoon",
dependencies = {
Expand All @@ -8,7 +12,6 @@ return {
},
cmd = { "Harpoon" },
keys = {
{ prefix, function() end, desc = (vim.g.icons_enabled and "󱡀 " or "") .. "Harpoon" },
{ prefix .. "a", function() require("harpoon.mark").add_file() end, desc = "Add file" },
{ prefix .. "e", function() require("harpoon.ui").toggle_quick_menu() end, desc = "Toggle quick menu" },
{
Expand Down

0 comments on commit 8f829a3

Please sign in to comment.