fix: always have a dictionary for opts

This commit is contained in:
TJ DeVries
2020-09-15 15:30:01 -04:00
parent 15d3cac7b1
commit b8f17075d4

View File

@@ -7,6 +7,8 @@
local themes = {} local themes = {}
function themes.get_dropdown(opts) function themes.get_dropdown(opts)
opts = opts or {}
local theme_opts = { local theme_opts = {
-- WIP: Decide on keeping these names or not. -- WIP: Decide on keeping these names or not.
theme = "dropdown", theme = "dropdown",