Skip to content

Commit 48b3d36

Browse files
committed
fix(config): allow colors function to return nothing if it performs in place modifications
1 parent 5db5856 commit 48b3d36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/astroui/config.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@
5656
--- git_branch_fg = "#ABCDEF",
5757
---}
5858
---```
59-
---@field colors (StringMap|(fun(colors:StringMap):StringMap))?
59+
---@field colors (StringMap|(fun(colors:StringMap):StringMap?))?
6060
---**MEANT FOR INTERNAL USE ONLY**
6161
---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.
6262
---@field fallback_colors StringMap?

0 commit comments

Comments
 (0)