mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat: add support for neogit (#25)
This commit is contained in:
parent
5cf7750240
commit
09d761aec8
2 changed files with 34 additions and 23 deletions
|
|
@ -149,29 +149,31 @@ theme.base = {
|
||||||
LspReferenceWrite = { fg = p.rose, bg = p.highlight },
|
LspReferenceWrite = { fg = p.rose, bg = p.highlight },
|
||||||
|
|
||||||
--Lsp color groups for nvim 0.5.x
|
--Lsp color groups for nvim 0.5.x
|
||||||
LspDiagnosticsSignWarning = { link = "DiagnosticSignWarn" },
|
LspDiagnosticsSignWarning = { link = 'DiagnosticSignWarn' },
|
||||||
LspDiagnosticsDefaultWarning = { link = "DiagnosticDefaultWarn" },
|
LspDiagnosticsDefaultWarning = { link = 'DiagnosticDefaultWarn' },
|
||||||
LspDiagnosticsFloatingWarning = { link = "DiagnosticFloatingWarn" },
|
LspDiagnosticsFloatingWarning = { link = 'DiagnosticFloatingWarn' },
|
||||||
LspDiagnosticsVirtualTextWarning = { link = "DiagnosticVirtualTextWarn" },
|
LspDiagnosticsVirtualTextWarning = { link = 'DiagnosticVirtualTextWarn' },
|
||||||
LspDiagnosticsUnderlineWarning = { link = "DiagnosticUnderlineWarn" },
|
LspDiagnosticsUnderlineWarning = { link = 'DiagnosticUnderlineWarn' },
|
||||||
|
|
||||||
LspDiagnosticsSignHint = { link = "DiagnosticSignHint" },
|
LspDiagnosticsSignHint = { link = 'DiagnosticSignHint' },
|
||||||
LspDiagnosticsDefaultHint = { link = "DiagnosticDefaultHint" },
|
LspDiagnosticsDefaultHint = { link = 'DiagnosticDefaultHint' },
|
||||||
LspDiagnosticsVirtualTextHint = { link = "DiagnosticFloatingHint" },
|
LspDiagnosticsVirtualTextHint = { link = 'DiagnosticFloatingHint' },
|
||||||
LspDiagnosticsFloatingHint = { link = "DiagnosticVirtualTextHint" },
|
LspDiagnosticsFloatingHint = { link = 'DiagnosticVirtualTextHint' },
|
||||||
LspDiagnosticsUnderlineHint = { link = "DiagnosticUnderlineHint" },
|
LspDiagnosticsUnderlineHint = { link = 'DiagnosticUnderlineHint' },
|
||||||
|
|
||||||
LspDiagnosticsSignError = { link = "DiagnosticSignError" },
|
LspDiagnosticsSignError = { link = 'DiagnosticSignError' },
|
||||||
LspDiagnosticsDefaultError = { link = "DiagnosticDefaultError" },
|
LspDiagnosticsDefaultError = { link = 'DiagnosticDefaultError' },
|
||||||
LspDiagnosticsFloatingError = { link = "DiagnosticFloatingError" },
|
LspDiagnosticsFloatingError = { link = 'DiagnosticFloatingError' },
|
||||||
LspDiagnosticsVirtualTextError = { link = "DiagnosticVirtualTextError" },
|
LspDiagnosticsVirtualTextError = { link = 'DiagnosticVirtualTextError' },
|
||||||
LspDiagnosticsUnderlineError = { link = "DiagnosticUnderlineError" },
|
LspDiagnosticsUnderlineError = { link = 'DiagnosticUnderlineError' },
|
||||||
|
|
||||||
LspDiagnosticsSignInformation = { link = "DiagnosticSignInfo" },
|
LspDiagnosticsSignInformation = { link = 'DiagnosticSignInfo' },
|
||||||
LspDiagnosticsDefaultInformation = { link = "DiagnosticDefaultInfo" },
|
LspDiagnosticsDefaultInformation = { link = 'DiagnosticDefaultInfo' },
|
||||||
LspDiagnosticsFloatingInformation = { link = "DiagnosticFloatingInfo" },
|
LspDiagnosticsFloatingInformation = { link = 'DiagnosticFloatingInfo' },
|
||||||
LspDiagnosticsVirtualTextInformation = { link = "DiagnosticVirtualTextInfo" },
|
LspDiagnosticsVirtualTextInformation = {
|
||||||
LspDiagnosticsUnderlineInformation = { link = "DiagnosticUnderlineInfo" },
|
link = 'DiagnosticVirtualTextInfo',
|
||||||
|
},
|
||||||
|
LspDiagnosticsUnderlineInformation = { link = 'DiagnosticUnderlineInfo' },
|
||||||
}
|
}
|
||||||
|
|
||||||
function theme.load_terminal()
|
function theme.load_terminal()
|
||||||
|
|
@ -349,6 +351,14 @@ theme.plugins = {
|
||||||
CmpItemAbbrMatch = { fg = p.text, style = 'bold' },
|
CmpItemAbbrMatch = { fg = p.text, style = 'bold' },
|
||||||
CmpItemAbbrMatchFuzzy = { fg = p.text, style = 'bold' },
|
CmpItemAbbrMatchFuzzy = { fg = p.text, style = 'bold' },
|
||||||
CmpItemAbbrDeprecated = { fg = p.subtle, style = 'strikethrough' },
|
CmpItemAbbrDeprecated = { fg = p.subtle, style = 'strikethrough' },
|
||||||
|
|
||||||
|
-- neogit
|
||||||
|
-- https://github.com/TimUntersberger/neogit
|
||||||
|
NeogitDiffAddHighlight = { fg = p.foam, bg = p.highlight_overlay },
|
||||||
|
NeogitDiffDeleteHighlight = { fg = p.love, bg = p.highlight_overlay },
|
||||||
|
NeogitDiffContextHighlight = { bg = p.highlight },
|
||||||
|
NeogitHunkHeader = { bg = p.highlight },
|
||||||
|
NeogitHunkHeaderHighlight = { bg = p.highlight },
|
||||||
}
|
}
|
||||||
|
|
||||||
return theme
|
return theme
|
||||||
|
|
|
||||||
|
|
@ -62,6 +62,7 @@ local colors = require("galaxyline.themes.colors")["rose-pine"]
|
||||||
- [WhichKey](https://github.com/folke/which-key.nvim)
|
- [WhichKey](https://github.com/folke/which-key.nvim)
|
||||||
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
|
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
|
||||||
- [Indent-Blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
|
- [Indent-Blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim)
|
||||||
|
- [Neogit](https://github.com/TimUntersberger/neogit)
|
||||||
|
|
||||||
## Gallery
|
## Gallery
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue