diff --git a/README.md b/README.md index aa6d44a..dff56fb 100644 --- a/README.md +++ b/README.md @@ -107,6 +107,7 @@ Supported highlight groups: - [lewis6991/gitsigns.nvim](https://github.com/lewis6991/gitsigns.nvim) - [lukas-reineke/indent-blankline.nvim](https://github.com/lukas-reineke/indent-blankline.nvim) - [neoclide/coc.nvim](https://github.com/neoclide/coc.nvim) + - [NeogitOrg/neogit](https://github.com/NeogitOrg/neogit) - [nvim-lualine/lualine.nvim](https://github.com/nvim-lualine/lualine.nvim) - [nvim-neo-tree/neo-tree.nvim](https://github.com/nvim-neo-tree/neo-tree.nvim) - [nvim-telescope/telescope.nvim](https://github.com/nvim-telescope/telescope.nvim) @@ -118,7 +119,6 @@ Supported highlight groups: - [romgrk/barbar.nvim](https://github.com/romgrk/barbar.nvim) - [simrat39/symbols-outline.nvim](https://github.com/simrat39/symbols-outline.nvim) - [stevearc/aerial.nvim](https://github.com/stevearc/aerial.nvim) - - [TimUntersberger/neogit](https://github.com/TimUntersberger/neogit) - [williamboman/mason.nvim](https://github.com/williamboman/mason.nvim) ## Installation diff --git a/doc/mini-hues.txt b/doc/mini-hues.txt index 1f41044..0f61900 100644 --- a/doc/mini-hues.txt +++ b/doc/mini-hues.txt @@ -53,6 +53,7 @@ Supported highlight groups: - 'lewis6991/gitsigns.nvim' - 'lukas-reineke/indent-blankline.nvim' - 'neoclide/coc.nvim' + - 'NeogitOrg/neogit' - 'nvim-lualine/lualine.nvim' - 'nvim-neo-tree/neo-tree.nvim' - 'nvim-telescope/telescope.nvim' @@ -64,7 +65,6 @@ Supported highlight groups: - 'romgrk/barbar.nvim' - 'simrat39/symbols-outline.nvim' - 'stevearc/aerial.nvim' - - 'TimUntersberger/neogit' - 'williamboman/mason.nvim' # Setup~ diff --git a/lua/mini/hues.lua b/lua/mini/hues.lua index f9116dd..4f19ea0 100644 --- a/lua/mini/hues.lua +++ b/lua/mini/hues.lua @@ -53,6 +53,7 @@ --- - 'lewis6991/gitsigns.nvim' --- - 'lukas-reineke/indent-blankline.nvim' --- - 'neoclide/coc.nvim' +--- - 'NeogitOrg/neogit' --- - 'nvim-lualine/lualine.nvim' --- - 'nvim-neo-tree/neo-tree.nvim' --- - 'nvim-telescope/telescope.nvim' @@ -64,7 +65,6 @@ --- - 'romgrk/barbar.nvim' --- - 'simrat39/symbols-outline.nvim' --- - 'stevearc/aerial.nvim' ---- - 'TimUntersberger/neogit' --- - 'williamboman/mason.nvim' --- --- # Setup~ @@ -1239,6 +1239,21 @@ H.apply_colorscheme = function(config) hi('CocSelectedText', { fg=p.yellow, bg=nil }) end + -- NeogitOrg/neogit + if has_integration('NeogitOrg/neogit') then + hi('NeogitCommitViewHeader', { link='Special' }) + hi('NeogitDiffAddHighlight', { link='DiffAdd' }) + hi('NeogitDiffAdd', { link='DiffAdd' }) + hi('NeogitDiffDeleteHighlight', { link='DiffDelete' }) + hi('NeogitDiffDelete', { link='DiffDelete' }) + hi('NeogitFold', { link='FoldColumn' }) + hi('NeogitHunkHeader', { fg=p.accent, bg=nil}) + hi('NeogitHunkHeaderHighlight', { fg=p.accent, bg=nil, bold = true}) + hi('NeogitNotificationError', { link='DiagnosticError' }) + hi('NeogitNotificationInfo', { link='DiagnosticInfo' }) + hi('NeogitNotificationWarning', { link='DiagnosticWarn' }) + end + -- nvim-lualine/lualine.nvim -- Everything works correctly out of the box @@ -1371,9 +1386,6 @@ H.apply_colorscheme = function(config) -- stevearc/aerial.nvim -- Everything works correctly out of the box - -- TimUntersberger/neogit - -- Everything works correctly out of the box - if has_integration('williamboman/mason.nvim') then hi('MasonError', { fg=p.red, bg=nil }) hi('MasonHeader', { fg=p.bg, bg=p.azure, bold=true })