summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorLuke Kershaw <35707277+l-kershaw@users.noreply.github.com>2021-11-18 18:44:16 +0000
committerGitHub <noreply@github.com>2021-11-18 19:44:16 +0100
commite9743620ce89cde7540df50d3181ea3a65a9759c (patch)
tree0161244e43648722e005c8c58ec557f7dae2e0ff /lua
parent9ac89ebf6755e9a3f4bae86625ec76106526e57b (diff)
fix: use `string.format` on `builtin.resume` error message (#1465)
Diffstat (limited to 'lua')
-rw-r--r--lua/telescope/builtin/internal.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/builtin/internal.lua b/lua/telescope/builtin/internal.lua
index d043bb7..fa655f0 100644
--- a/lua/telescope/builtin/internal.lua
+++ b/lua/telescope/builtin/internal.lua
@@ -98,7 +98,7 @@ internal.resume = function(opts)
end
local picker = cached_pickers[opts.cache_index]
if picker == nil then
- print("Index too large as there are only %s pickers cached", #cached_pickers)
+ print(string.format("Index too large as there are only %s pickers cached", #cached_pickers))
return
end
-- reset layout strategy and get_window_options if default as only one is valid