diff options
| author | Simon Hauser <Simon-Hauser@outlook.de> | 2021-09-13 22:03:41 +0200 |
|---|---|---|
| committer | Simon Hauser <Simon-Hauser@outlook.de> | 2021-09-16 11:12:12 +0200 |
| commit | 5131df7df17d640191201ddb462e863022d7a61b (patch) | |
| tree | b5eeb8435cf1d5e76e36808bfe2ef7887342191b /lua/telescope/command.lua | |
| parent | aaffa84ebb0d411eafe2347e2ee0424af1199219 (diff) | |
docs: rewrite readme and add missing config values + builtin opts
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 |
