pass colors from builder

This commit is contained in:
Michael Chris Lopez
2021-09-14 07:50:23 +08:00
parent e300373fe5
commit d60fc8aeef
8 changed files with 43 additions and 43 deletions

View File

@@ -22,9 +22,7 @@ let s:p.tabline.tabsel = [ [ "${tabsel_fg}", "${tabsel_bg}", "bold" ] ]
let g:lightline#colorscheme#zenbones#palette = lightline#colorscheme#fill(s:p)
]]
return function(name)
local theme = require(name)
return function(name, theme, palette, terminal)
return {
string.format("autoload/lightline/colorscheme/%s.vim", name),
template,