fix nil groups

This commit is contained in:
mvllow 2022-02-05 13:10:01 -06:00
commit c7dded5ab2
2 changed files with 9 additions and 10 deletions

View file

@ -5,7 +5,7 @@ local M = {}
function M.get(config)
local theme = {}
local groups = config.groups
local groups = config.groups or {}
local colors = palette[config.variant or 'main']
local styles = {
italic = (config.disable_italics and 'italic') or 'NONE',