summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta
diff options
context:
space:
mode:
authorDenis Maciel <denismaciel@users.noreply.github.com>2023-04-16 13:22:42 +0200
committerGitHub <noreply@github.com>2023-04-16 13:22:42 +0200
commit9dcbcbb85c0dccd10b41453cc01cb8f3a49735aa (patch)
treefe011e7d739b5c48158b8771587962971e334deb /lua/no-clown-fiesta
parent8f497ead8c7d357d980bcb7c663b39b4d4906d3d (diff)
Add support to leap.nvim (#19)
Diffstat (limited to 'lua/no-clown-fiesta')
-rw-r--r--lua/no-clown-fiesta/groups/init.lua1
-rw-r--r--lua/no-clown-fiesta/groups/leap.lua12
2 files changed, 13 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/init.lua b/lua/no-clown-fiesta/groups/init.lua
index fe4231b..e046e43 100644
--- a/lua/no-clown-fiesta/groups/init.lua
+++ b/lua/no-clown-fiesta/groups/init.lua
@@ -4,6 +4,7 @@ return {
require "no-clown-fiesta.groups.highlights",
require "no-clown-fiesta.groups.hop",
require "no-clown-fiesta.groups.lazy",
+ require "no-clown-fiesta.groups.leap",
require "no-clown-fiesta.groups.lir",
require "no-clown-fiesta.groups.lsp",
require "no-clown-fiesta.groups.markdown",
diff --git a/lua/no-clown-fiesta/groups/leap.lua b/lua/no-clown-fiesta/groups/leap.lua
new file mode 100644
index 0000000..5dfd394
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/leap.lua
@@ -0,0 +1,12 @@
+local M = {}
+
+function M.highlight(palette, opts)
+ return {
+ LeapMatch = { fg = palette.cyan, bold = true },
+ LeapLabelPrimary = { fg = palette.red, bold = true },
+ LeapLabelSecondary = { fg = palette.gray_blue },
+ LeapBackdrop = { fg = palette.gray },
+ }
+end
+
+return M