neovim-lua
neovim-lua copied to clipboard
Define color scheme in a single file
Maybe it is more KISS to configure color scheme in core/colors.lua
, while core/statusline.lua
require a colors table following the "palette" file color scheme.
Maybe return M.onedark_dark
could be changed to return M[colorscheme]
, but I'm not quite familiar with Lua.
Hi @Zhou-Yicheng thanks, your request seems more than reasonable, I'll see how I can best implement it in future updates.