murtaza-u / gruvqueen

Port of famous gruvbox theme in lua(inspired by gruvbox-material)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fix: unable to set colors to referenced palette values

qbedard opened this issue · comments

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 requires 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.

Thanks @timbedard for pointing this out. I'll push the new changes soon. Hopefully it should fix #3

Switching to requires 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.

@timbedard I have push the commit. Your solution should fix it.