Skip to content

Commit

Permalink
feat(plugins): add neogit support
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Lamia committed Nov 25, 2023
1 parent dee99ca commit 4d23354
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -244,6 +244,7 @@ term.foreground
| [lightspeed.nvim](https://github.com/ggandor/lightspeed.nvim) | `lightspeed` |
| [lualine.nvim](https://github.com/nvim-lualine/lualine.nvim) | `lualine` |
| [neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim) | `neo-tree` |
| [neogit](https://github.com/NeogitOrg/neogit) | `neogit` |
| [noice.nvim](https://github.com/folke/noice.nvim) | `noice` |
| [nvim-cmp](https://github.com/hrsh7th/nvim-cmp) | `nvim-cmp` |
| [nvim-dap-ui](https://github.com/rcarriga/nvim-dap-ui) | `nvim-dap-ui` |
Expand Down
1 change: 1 addition & 0 deletions lua/astrotheme/groups/plugins/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ return {
["gitsigns.nvim"] = "gitsigns",
["hop.nvim"] = "hop",
["indent-blankline.nvim"] = "indent-blankline",
["neogit"] = "neogit",
["lazy.nvim"] = "lazy",
["lightspeed.nvim"] = "lightspeed",
["neo-tree.nvim"] = "neo-tree",
Expand Down
33 changes: 33 additions & 0 deletions lua/astrotheme/groups/plugins/neogit.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
local function callback()
return {
NeogitDiffDelete = {
bg = C.ui.base,
fg = C.syntax.red,
},
NeogitDiffDeleteHighlight = {
bg = C.ui.base,
fg = C.syntax.red,
},
NeogitDiffAdd = {
bg = C.ui.base,
fg = C.syntax.green,
},
NeogitDiffAddHighlight = {
bg = C.ui.base,
fg = C.syntax.green,
},
NeogitDiffContextHighlight = {
bg = C.ui.inactive_base,
},
NeogitDiffContext = {
bg = C.ui.inactive_base,
fg = C.ui.text_inactive,
},
NeogitHunkHeader = {
bg = C.ui.text_inactive,
fg = C.ui.text_active,
},
}
end

return callback

0 comments on commit 4d23354

Please sign in to comment.