mirror of https://github.com/sgoudham/nvim.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
579 B
Lua
17 lines
579 B
Lua
local M = {}
|
|
|
|
function M.get()
|
|
local cnf = require("catppuccin.config").options
|
|
local bg_highlight = (cnf.transparent_background and cnf.dim_inactive.enabled and cp.dim)
|
|
or (cnf.transparent_background and "NONE")
|
|
or (cnf.dim_inactive.enabled and cp.dim)
|
|
or cp.base
|
|
return {
|
|
GitSignsAdd = { fg = cp.green, bg = bg_highlight }, -- diff mode: Added line |diff.txt|
|
|
GitSignsChange = { fg = cp.yellow, bg = bg_highlight }, -- diff mode: Changed line |diff.txt|
|
|
GitSignsDelete = { fg = cp.red, bg = bg_highlight }, -- diff mode: Deleted line |diff.txt|
|
|
}
|
|
end
|
|
|
|
return M
|