Skip to content

Commit

Permalink
fix(grapple-nvim): Make which-key entry color blue, as it should be (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSast authored Jul 12, 2023
1 parent 4de6948 commit 3dbdce3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lua/astrocommunity/motion/grapple-nvim/init.lua
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
local prefix = "<leader><leader>"
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", "<cmd>GrappleTag<CR>", desc = "Add file" },
{ prefix .. "d", "<cmd>GrappleUntag<CR>", desc = "Remove file" },
{ prefix .. "t", "<cmd>GrappleToggle<CR>", desc = "Toggle a file" },
Expand Down

0 comments on commit 3dbdce3

Please sign in to comment.