Skip to content

Commit

Permalink
fix: #113
Browse files Browse the repository at this point in the history
revert 41f844a
  • Loading branch information
ful1e5 committed Oct 16, 2021
1 parent 9425590 commit 84e18f2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,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

## [v0.0.2] - 15 Sep 2021

Expand Down
9 changes: 4 additions & 5 deletions lua/github-theme/util.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ end

--- Delete the autocmds when the theme changes to something else
function util.onColorScheme()
print(vim.g.github_theme_style)
if vim.g.colors_name ~= "github" then
vim.cmd([[autocmd! github]])
vim.cmd([[augroup! github]])
Expand Down Expand Up @@ -216,11 +215,11 @@ function util.load(theme)
-- load base theme
util.syntax(theme.base)

-- load syntax for plugins and terminal
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 84e18f2

Please sign in to comment.