Skip to content

Commit 9ead2d9

Browse files
authored
feat(plugins): add neogit support (#99)
1 parent dee99ca commit 9ead2d9

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,7 @@ term.foreground
244244
| [lightspeed.nvim](https://github.com/ggandor/lightspeed.nvim) | `lightspeed` |
245245
| [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim) | `lualine` |
246246
| [neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim) | `neo-tree` |
247+
| [neogit](https://github.com/NeogitOrg/neogit) | `neogit` |
247248
| [noice.nvim](https://github.com/folke/noice.nvim) | `noice` |
248249
| [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) | `nvim-cmp` |
249250
| [nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui) | `nvim-dap-ui` |

lua/astrotheme/groups/plugins/init.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ return {
77
["gitsigns.nvim"] = "gitsigns",
88
["hop.nvim"] = "hop",
99
["indent-blankline.nvim"] = "indent-blankline",
10+
["neogit"] = "neogit",
1011
["lazy.nvim"] = "lazy",
1112
["lightspeed.nvim"] = "lightspeed",
1213
["neo-tree.nvim"] = "neo-tree",
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
local function callback()
2+
return {
3+
NeogitDiffDelete = {
4+
bg = C.ui.base,
5+
fg = C.syntax.red,
6+
},
7+
NeogitDiffDeleteHighlight = {
8+
bg = C.ui.base,
9+
fg = C.syntax.red,
10+
},
11+
NeogitDiffAdd = {
12+
bg = C.ui.base,
13+
fg = C.syntax.green,
14+
},
15+
NeogitDiffAddHighlight = {
16+
bg = C.ui.base,
17+
fg = C.syntax.green,
18+
},
19+
NeogitDiffContextHighlight = {
20+
bg = C.ui.inactive_base,
21+
},
22+
NeogitDiffContext = {
23+
bg = C.ui.inactive_base,
24+
fg = C.ui.text_inactive,
25+
},
26+
NeogitHunkHeader = {
27+
bg = C.ui.text_inactive,
28+
fg = C.ui.text_active,
29+
},
30+
}
31+
end
32+
33+
return callback

0 commit comments

Comments
 (0)