Closed teoshibin closed 4 months ago
load git
integration in your neogit config function or load it after gitsigns.nvim
dofile(vim.g.base46_cache..'git')
@siduck I did that and still have a pretty bad diff color
-- lua/configs/neogit.lua
local options = {
signs = {
-- { CLOSED, OPENED }
hunk = { "", "" },
item = { "", "" },
section = { "", "" },
},
}
-- Get correct diff highlighting
dofile(vim.g.base46_cache .. "git")
require("neogit").setup(options)
-- lua/plugins/init.lua
{
"NeogitOrg/neogit",
cmd = "Neogit",
dependencies = {
"nvim-lua/plenary.nvim", -- required
"sindrets/diffview.nvim", -- optional - Diff integration
"nvim-telescope/telescope.nvim",
},
config = function()
require "configs.neogit"
end,
},
The theme is flexoki-light
and this is what is looks like:
@andradei does it happen with other themes?
Was about to test, but neovim 0.10 just landed and neogit upgraded, breaking for me until I am able to upgrade neovim. I decided to use lazygit instead :)
@andradei does it happen with other themes?
Yeah, it's happening. I'm having the same problem.
i have a lost conversation of this issue, so show me how normal neogit looks vs ours , i'll fix it on weekend :)
i have a lost conversation of this issue, so show me how normal neogit looks vs ours , i'll fix it on weekend :)
All the highlight groups are here: https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua
i have a lost conversation of this issue, so show me how normal neogit looks vs ours , i'll fix it on weekend :)
All the highlight groups are here: https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua
wow thats a lot! i'll add it on sunday
@Frestein
M.base46 = {
integrations = { "neogit" },
}
{
"NeogitOrg/neogit",
cmd = "Neogit",
dependencies = {
"sindrets/diffview.nvim", -- optional - Diff integration
},
config = function()
require("neogit").setup()
dofile(vim.g.base46_cache .. "git")
dofile(vim.g.base46_cache .. "neogit")
end,
}
Color integration for neogit, here's an awful image of commit diff