fix: unable to set colors to referenced palette values
qbedard opened this issue · comments
Quin Bedard commented
Trying to do something akin to
require("gruvqueen.base").SignColumn.bg = require("gruvqueen.palette").bg0
doesn't work right now due to timing of loading globals (and also #3).
Switching to require
s instead of setting globals will probably fix this. It's not good to litter the global namespace with generically-named globals like Config
and C
anyway.
Murtaza Udaipurwala commented
Thanks @timbedard for pointing this out. I'll push the new changes soon. Hopefully it should fix #3
Murtaza Udaipurwala commented
Switching to
require
s instead of setting globals will probably fix this. It's not good to litter the global namespace with generically-named globals likeConfig
andC
anyway.
@timbedard I have push the commit. Your solution should fix it.