Skip to content

Commit

Permalink
removed search colors force assignments from transparent mode pro…
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Oct 26, 2021
1 parent 7ef016b commit d00e939
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- fix #83: inactive lualine colors
- enhance: inactive statusline
- load colorscheme according to `theme_style` config
- revert 41f844a #113
- removed `search` colors force assignments from `transparent` mode #113
- todo highlight foreground color fixed #115
- make `CursorLine` and `CursorColumn` background highlight more visible #109
- `qfLineNr` & `QuickFixLine` colors updated #119
Expand Down
5 changes: 1 addition & 4 deletions lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,7 @@ function M.setup(config)
PmenuThumb = {bg = c.pmenu.sbar}, -- Popup menu: Thumb of the scrollbar.
Question = {fg = c.blue}, -- |hit-enter| prompt and yes/no questions
QuickFixLine = {bg = util.darken(c.blue, 0.2), style = "bold"}, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there.
Search = {
bg = config.transparent and c.orange or c.bg_search,
fg = config.transparent and c.black or c.fg_search
}, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
Search = {bg = c.bg_search, fg = c.fg_search}, -- Last search pattern highlighting (see 'hlsearch'). Also used for similar items that need to stand out.
IncSearch = {link = "Search"}, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
SpecialKey = {fg = c.fg_gutter}, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = {sp = c.error, style = "undercurl"}, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
Expand Down
7 changes: 3 additions & 4 deletions lua/github-theme/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,11 @@ function util.load(theme)

-- load base theme
util.syntax(theme.base)
util.autocmds(theme.config)
util.terminal(theme.colors)
util.syntax(theme.plugins)

-- load syntax for plugins and terminal async
vim.defer_fn(function()
util.autocmds(theme.config)
util.terminal(theme.colors)
util.syntax(theme.plugins)
util.syntax(theme.defer)
end, 100)
end
Expand Down

0 comments on commit d00e939

Please sign in to comment.