Skip to content

Commit 6bcfdd6

Browse files
committed
feat(extensions): add gitpad.nvim (#88)
1 parent 6e4cd3a commit 6bcfdd6

File tree

3 files changed

+18
-0
lines changed

3 files changed

+18
-0
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/ibhagwan/fzf-lua"> fzf-lua</a></label></li>
6464
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/lewis6991/gitsigns.nvim"> gitsigns.nvim</a></label></li>
6565
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/cbochs/grapple.nvim"> grapple.nvim</a></label></li>
66+
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/yujinyuz/gitpad.nvim"> gitpad.nvim</a></label></li>
6667
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/Zeioth/heirline-components.nvim"> heirline-components.nvim</a></label></li>
6768
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/lukas-reineke/indent-blankline.nvim"> indent-blankline.nvim</a></label></li>
6869
<li><input type="checkbox" checked disabled><label for=""><a href="https://github.com/ramilito/kubectl.nvim"> kubectl.nvim</a></label></li>

lua/cyberdream/config.lua

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ local M = {}
2727
---@field cmp? boolean
2828
---@field dashboard? boolean
2929
---@field fzflua? boolean
30+
---@field gitpad? boolean
3031
---@field gitsigns? boolean
3132
---@field grapple? boolean
3233
---@field heirline? boolean
@@ -67,6 +68,7 @@ local default_options = {
6768
cmp = true,
6869
dashboard = true,
6970
fzflua = true,
71+
gitpad = true,
7072
gitsigns = true,
7173
grapple = true,
7274
heirline = true,

lua/cyberdream/extensions/gitpad.lua

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
local M = {}
2+
3+
--- Get extension configuration
4+
--- @param opts Config
5+
--- @param t CyberdreamPalette
6+
function M.get(opts, t)
7+
opts = opts or {}
8+
local highlights = {
9+
GitpadFloat = { link = "NormalFloat" },
10+
GitpadFloatBorder = { link = "FloatBorder" },
11+
GitpadFloatTitle = { fg = t.cyan, bold = true },
12+
}
13+
return highlights
14+
end
15+
return M

0 commit comments

Comments
 (0)