diff options
Diffstat (limited to 'lua/telescope/command.lua')
| -rw-r--r-- | lua/telescope/command.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/telescope/command.lua b/lua/telescope/command.lua index db75eb1..f75fdeb 100644 --- a/lua/telescope/command.lua +++ b/lua/telescope/command.lua @@ -166,7 +166,8 @@ local function run_command(args) end if string.len(theme) > 0 then - opts = themes[theme](opts) + local func = themes[theme] or themes["get_" .. theme] + opts = func(opts) end if string.len(extension_type) > 0 and extension_type ~= '"' then |
