From 425fe071e796ce9872846713cbcb2ba7d05e96e8 Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Fri, 5 Apr 2024 10:56:12 -0400 Subject: [PATCH] fix(vim-highlighter): fix incorrect mapping format --- lua/astrocommunity/color/vim-highlighter/init.lua | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/lua/astrocommunity/color/vim-highlighter/init.lua b/lua/astrocommunity/color/vim-highlighter/init.lua index f69b1006a..295e63bd8 100644 --- a/lua/astrocommunity/color/vim-highlighter/init.lua +++ b/lua/astrocommunity/color/vim-highlighter/init.lua @@ -7,14 +7,10 @@ return { opts = { mappings = { n = { - { "f", desc = "Highlight" }, - { "f", desc = "Remove Highlight" }, - { "f", desc = "Clear Highlight" }, - { "f", desc = "Find Highlight (similar to Telescope grep)" }, - { "nn", "Hi>", desc = "Next Recently Set Highlight" }, - { "ng", "Hi<", desc = "Previous Recently Set Highlight" }, - { "n[", "Hi{", desc = "Next Nearest Highlight" }, - { "n]", "Hi}", desc = "Previous Nearest Highlight" }, + ["nn"] = { "Hi>", desc = "Next Recently Set Highlight" }, + ["ng"] = { "Hi<", desc = "Previous Recently Set Highlight" }, + ["n["] = { "Hi{", desc = "Next Nearest Highlight" }, + ["n]"] = { "Hi}", desc = "Previous Nearest Highlight" }, }, }, },