From 9dcbcbb85c0dccd10b41453cc01cb8f3a49735aa Mon Sep 17 00:00:00 2001 From: Denis Maciel Date: Sun, 16 Apr 2023 13:22:42 +0200 Subject: Add support to leap.nvim (#19) --- README.md | 1 + doc/no-clown-fiesta.txt | 1 + lua/no-clown-fiesta/groups/init.lua | 1 + lua/no-clown-fiesta/groups/leap.lua | 12 ++++++++++++ 4 files changed, 15 insertions(+) create mode 100644 lua/no-clown-fiesta/groups/leap.lua 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 -- cgit v1.2.3-70-g09d2