Skip to content

Commit

Permalink
fix(vim-highlighter): fix incorrect mapping format
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter committed Apr 5, 2024
1 parent b1e5f08 commit 425fe07
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions lua/astrocommunity/color/vim-highlighter/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@ return {
opts = {
mappings = {
n = {
{ "f<Enter>", desc = "Highlight" },
{ "f<BS>", desc = "Remove Highlight" },
{ "f<C-L>", desc = "Clear Highlight" },
{ "f<Tab>", desc = "Find Highlight (similar to Telescope grep)" },
{ "nn", "<Cmd>Hi><CR>", desc = "Next Recently Set Highlight" },
{ "ng", "<Cmd>Hi<<CR>", desc = "Previous Recently Set Highlight" },
{ "n[", "<Cmd>Hi{<CR>", desc = "Next Nearest Highlight" },
{ "n]", "<Cmd>Hi}<CR>", desc = "Previous Nearest Highlight" },
["nn"] = { "<Cmd>Hi><CR>", desc = "Next Recently Set Highlight" },
["ng"] = { "<Cmd>Hi<<CR>", desc = "Previous Recently Set Highlight" },
["n["] = { "<Cmd>Hi{<CR>", desc = "Next Nearest Highlight" },
["n]"] = { "<Cmd>Hi}<CR>", desc = "Previous Nearest Highlight" },
},
},
},
Expand Down

0 comments on commit 425fe07

Please sign in to comment.