From 5131df7df17d640191201ddb462e863022d7a61b Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Mon, 13 Sep 2021 22:03:41 +0200 Subject: docs: rewrite readme and add missing config values + builtin opts --- lua/telescope/command.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lua/telescope/command.lua') 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 -- cgit v1.2.3