Skip to content

Commit 29e2f90

Browse files
committed
Fixed #243
1 parent 848e424 commit 29e2f90

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3636

3737
- #238 fixed
3838
- #241 fixed
39+
- #243 fixed
3940

4041
## [v0.0.7] - 16 January 2023
4142

lua/github-theme/init.lua

+3-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ M.load = function(opts)
4949

5050
-- override colors
5151
local overrides = config.options.overrides(hi.colors)
52+
5253
util.apply_overrides(hi.base, overrides, config.options.dev)
5354
util.apply_overrides(hi.plugins, overrides, config.options.dev)
5455

@@ -69,10 +70,10 @@ M.setup = function(opts)
6970
-- TODO: Remove these individual conditions when migration
7071
-- from old config to 'opts.options' has been DONE.
7172
if opts.colors then
72-
config.set_options({ opts.colors })
73+
config.set_options({ colors = opts.colors })
7374
end
7475
if opts.overrides then
75-
config.set_options({ opts.overrides })
76+
config.set_options({ overrides = opts.overrides })
7677
end
7778
if opts.dev then
7879
config.set_options({ opts.dev })

0 commit comments

Comments
 (0)