Skip to content

Commit

Permalink
feat(neogit): support new highlight groups (#610)
Browse files Browse the repository at this point in the history
* Added more highlight groups for neogit.

* Replaced purple by lavender and gray by subtext1

* `"None"` -> `C.none`

---------

Co-authored-by: Mirko König <mirko.konig@here.com>
Co-authored-by: mrtnvgr <martynovegorOF@yandex.ru>
  • Loading branch information
3 people committed Nov 13, 2023
1 parent 9f3c13b commit f90c7c0
Showing 1 changed file with 125 additions and 4 deletions.
129 changes: 125 additions & 4 deletions lua/catppuccin/groups/integrations/neogit.lua
Expand Up @@ -61,7 +61,10 @@ function M.get()
fg = C.blue,
style = { "bold" },
},

NeogitChangeDeleted = {
fg = C.red,
style = { "bold" },
},
NeogitChangeAdded = {
fg = C.green,
style = { "bold" },
Expand Down Expand Up @@ -118,9 +121,127 @@ function M.get()
fg = C.mauve,
style = { "bold" },
},
NeogitNotificationInfo = { fg = C.blue },
NeogitNotificationWarning = { fg = C.yellow },
NeogitNotificationError = { fg = C.red },
NeogitNotificationInfo = {
fg = C.blue,
},
NeogitNotificationWarning = {
fg = C.yellow,
},
NeogitNotificationError = {
fg = C.red,
},
NeogitGraphRed = {
fg = C.red,
},
NeogitGraphWhite = {
fg = C.base,
},
NeogitGraphYellow = {
fg = C.yellow,
},
NeogitGraphGreen = {
fg = C.green,
},
NeogitGraphCyan = {
fg = C.blue,
},
NeogitGraphBlue = {
fg = C.blue,
},
NeogitGraphPurple = {
fg = C.lavender,
},
NeogitGraphGray = {
fg = C.subtext1,
},
NeogitGraphOrange = {
fg = C.peach,
},
NeogitGraphBoldRed = {
fg = C.red,
style = { "bold" },
},
NeogitGraphBoldWhite = {
fg = C.white,
style = { "bold" },
},
NeogitGraphBoldYellow = {
fg = C.yellow,
style = { "bold" },
},
NeogitGraphBoldGreen = {
fg = C.green,
style = { "bold" },
},
NeogitGraphBoldCyan = {
fg = C.blue,
style = { "bold" },
},
NeogitGraphBoldBlue = {
fg = C.blue,
style = { "bold" },
},
NeogitGraphBoldPurple = {
fg = C.lavender,
style = { "bold" },
},
NeogitGraphBoldGray = {
fg = C.subtext1,
style = { "bold" },
},
NeogitDiffContext = {
bg = C.lavender,
},
NeogitPopupBold = {
style = { "bold" },
},
NeogitPopupSwitchKey = {
fg = C.lavender,
},
NeogitPopupOptionKey = {
fg = C.lavender,
},
NeogitPopupConfigKey = {
fg = C.lavender,
},
NeogitPopupActionKey = {
fg = C.lavender,
},
NeogitFilePath = {
fg = C.blue,
style = { "italic" },
},
NeogitDiffHeader = {
bg = C.base,
fg = C.blue,
style = { "bold" },
},
NeogitDiffHeaderHighlight = {
bg = C.base,
fg = C.peach,
style = { "bold" },
},
NeogitUnpushedTo = {
fg = C.lavender,
style = { "bold" },
},
NeogitCursorLine = {
bg = C.lavender,
},
NeogitFold = {
fg = C.none,
bg = C.none,
},
NeogitSectionHeader = {
fg = C.mauve,
style = { "bold" },
},
NeogitTagName = {
fg = C.yellow,
},
NeogitTagDistance = {
fg = C.blue,
},
}
end

Expand Down

0 comments on commit f90c7c0

Please sign in to comment.