From 48b3d368755f1a2775c859b0081123a11a6a13eb Mon Sep 17 00:00:00 2001 From: Micah Halter Date: Tue, 21 May 2024 16:18:54 -0400 Subject: [PATCH] fix(config): allow `colors` function to return nothing if it performs in place modifications --- lua/astroui/config.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/astroui/config.lua b/lua/astroui/config.lua index 9ed9399..0d80a89 100644 --- a/lua/astroui/config.lua +++ b/lua/astroui/config.lua @@ -56,7 +56,7 @@ --- git_branch_fg = "#ABCDEF", ---} ---``` ----@field colors (StringMap|(fun(colors:StringMap):StringMap))? +---@field colors (StringMap|(fun(colors:StringMap):StringMap?))? ---**MEANT FOR INTERNAL USE ONLY** ---A table of fallback colors if a colorscheme used by the user does not have a highlight group, the entry point to this are typically through the `status.colors` option. ---@field fallback_colors StringMap?