I get this error when calling workspace_switcher.switch_workspace(). I did not get the error before. The workspace switcher does not show up
10:45:22.349 ERROR wezterm_gui::termwindow > while processing user-defined-24 event: bad argument #1: error converting Lua table to termwiz_funcs::FormatItem (Expected a valid `FormatColor` variant name as single key in object, but there are 0 keys)
stack traceback:
[C]: in function 'wezterm.format'
...haelbrusegard/.config/wezterm/lua/plugins/workspaces.lua:9: in function 'httpssCssZssZsgithubsDscomsZsMLFlexersZssmart_workspace_switchersDswezterm.workspace_formatter'
...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:51: in field 'get_workspace_elements'
...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:89: in function 'httpssCssZssZsgithubsDscomsZsMLFlexersZssmart_workspace_switchersDswezterm.get_choices'
...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:168: in function <...xersZssmart_workspace_switchersDswezterm/plugin/init.lua:166>
I get this error when calling
workspace_switcher.switch_workspace()
. I did not get the error before. The workspace switcher does not show up