Skip to content

Commit 1ed46d5

Browse files
committed
feat: adds support for andyg/leap.nvim
1 parent c0b6e0e commit 1ed46d5

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

lua/bearded/highlights.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ end
264264

265265
local function plugin_groups(colors, ui, levels)
266266
local primary = ui.primary or colors.blue or colors.teal
267+
local leap = require("bearded.plugins.leap").highlights(ui, colors)
267268
local neo_tree = require("bearded.plugins.neotree").highlights(ui, colors)
268269
local treesitter_context = require("bearded.plugins.treesitter_context").highlights(ui, colors)
269270
local noice = require("bearded.plugins.noice").highlights(ui, colors)
@@ -321,6 +322,7 @@ local function plugin_groups(colors, ui, levels)
321322
},
322323
}
323324

325+
merge(g, leap)
324326
merge(g, neo_tree)
325327
merge(g, treesitter_context)
326328
merge(g, noice)

lua/bearded/plugins/leap.lua

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
local M = {}
2+
3+
function M.highlights(ui, colors)
4+
return {
5+
LeapMatch = { bg = colors.blue, fg = ui.defaultMain, bold = true },
6+
LeapLabel = { fg = colors.blue, bold = true },
7+
LeapBackdrop = { fg = ui.defaultalt },
8+
}
9+
end
10+
11+
return M

0 commit comments

Comments
 (0)