summaryrefslogtreecommitdiff
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
parent8f497ead8c7d357d980bcb7c663b39b4d4906d3d (diff)
Add support to leap.nvim (#19)
-rw-r--r--README.md1
-rw-r--r--doc/no-clown-fiesta.txt1
-rw-r--r--lua/no-clown-fiesta/groups/init.lua1
-rw-r--r--lua/no-clown-fiesta/groups/leap.lua12
4 files changed, 15 insertions, 0 deletions
diff --git a/README.md b/README.md
index f0f4089..c5572ad 100644
--- a/README.md
+++ b/README.md
@@ -41,6 +41,7 @@ require("no-clown-fiesta").setup({
- Git
- Hop
- Lir
+- Leap
- LSP
- Lualine
- Markdown
diff --git a/doc/no-clown-fiesta.txt b/doc/no-clown-fiesta.txt
index 716c408..fe78c27 100644
--- a/doc/no-clown-fiesta.txt
+++ b/doc/no-clown-fiesta.txt
@@ -48,6 +48,7 @@ SUPPORTED PLUGINS *no-clown-fiesta-supported_plugin
* Alpha
* Git
* Hop
+* Leap
* Lir
* LSP
* Lualine
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