diff --git a/CHANGELOG.md b/CHANGELOG.md index 2db5b7c9..3ff9f276 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Included Airline themes Fixed #20 - CI: Get and update primer primitives automatically #253 +- Support coc-explorer highlights ### Changes @@ -24,6 +25,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - #257 fixed - #261 fixed - #268 fixed +- #274 fixed +- #160 closed due to inactivity. ## [v1.0.0] - 19 May 2023 diff --git a/lua/github-theme/config.lua b/lua/github-theme/config.lua index cbcf666d..e6853678 100644 --- a/lua/github-theme/config.lua +++ b/lua/github-theme/config.lua @@ -60,6 +60,7 @@ M.options = collect.deep_copy(defaults) M.module_names = { 'cmp', 'coc', + 'coc_explorer', 'dapui', 'diffchar', 'dashboard', diff --git a/lua/github-theme/group/modules/coc_explorer.lua b/lua/github-theme/group/modules/coc_explorer.lua new file mode 100644 index 00000000..055a2146 --- /dev/null +++ b/lua/github-theme/group/modules/coc_explorer.lua @@ -0,0 +1,22 @@ +-- https://github.com/weirongxu/coc-explorer + +local M = {} + +function M.get(spec, config, opts) + 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