Skip to content

Commit

Permalink
Fixed #243
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Apr 15, 2023
1 parent 848e424 commit 29e2f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- #238 fixed
- #241 fixed
- #243 fixed

## [v0.0.7] - 16 January 2023

Expand Down
5 changes: 3 additions & 2 deletions lua/github-theme/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ M.load = function(opts)

-- override colors
local overrides = config.options.overrides(hi.colors)

util.apply_overrides(hi.base, overrides, config.options.dev)
util.apply_overrides(hi.plugins, overrides, config.options.dev)

Expand All @@ -69,10 +70,10 @@ M.setup = function(opts)
-- TODO: Remove these individual conditions when migration
-- from old config to 'opts.options' has been DONE.
if opts.colors then
config.set_options({ opts.colors })
config.set_options({ colors = opts.colors })
end
if opts.overrides then
config.set_options({ opts.overrides })
config.set_options({ overrides = opts.overrides })
end
if opts.dev then
config.set_options({ opts.dev })
Expand Down

0 comments on commit 29e2f90

Please sign in to comment.