forked from folke/tokyonight.nvim
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathneogit.lua
More file actions
21 lines (17 loc) · 687 Bytes
/
neogit.lua
File metadata and controls
21 lines (17 loc) · 687 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
local Util = require("tokyonight.util")
local M = {}
M.url = "https://github.com/TimUntersberger/neogit"
---@type tokyonight.HighlightsFn
function M.get(c)
-- stylua: ignore
return {
NeogitBranch = { fg = c.magenta },
NeogitRemote = { fg = c.purple },
NeogitHunkHeader = { bg = c.bg_highlight, fg = c.fg },
NeogitHunkHeaderHighlight = { bg = c.fg_gutter, fg = c.blue },
NeogitDiffContextHighlight = { bg = Util.blend_bg(c.fg_gutter, 0.5), fg = c.fg_dark },
NeogitDiffDeleteHighlight = { fg = c.git.delete, bg = c.diff.delete },
NeogitDiffAddHighlight = { fg = c.git.add, bg = c.diff.add },
}
end
return M