forked from projekt0n/github-nvim-theme
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcoc_explorer.lua
26 lines (21 loc) · 884 Bytes
/
coc_explorer.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
-- https://github.com/weirongxu/coc-explorer
local M = {}
---@param spec GhTheme.Spec
---@param _config GhTheme.Config.Options
---@param _opts GhTheme.Config.Module
function M.get(spec, _config, _opts)
---@type table<string, GhTheme.HighlightGroup>
return {
CocExplorerNormalFloat = { link = 'NormalSB' },
CocExplorerFileRootName = { fg = spec.fg1, style = 'bold' },
CocExplorerFileDirectory = { fg = spec.fg1, style = 'bold' },
CocExplorerGitPathChange_Internal = { fg = spec.palette.done.fg },
CocExplorerGitAdded = { fg = spec.git.add },
CocExplorerGitModified = { fg = spec.git.changed },
CocExplorerGitContentChange = { fg = spec.git.changed },
CocExplorerGitPathChange = { fg = spec.palette.done.fg },
CocExplorerGitIgnored = { fg = spec.syntax.comment },
CocExplorerGitUntracked = { fg = spec.syntax.comment },
}
end
return M