diff options
| author | Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> | 2021-11-18 18:44:16 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-18 19:44:16 +0100 |
| commit | e9743620ce89cde7540df50d3181ea3a65a9759c (patch) | |
| tree | 0161244e43648722e005c8c58ec557f7dae2e0ff | |
| parent | 9ac89ebf6755e9a3f4bae86625ec76106526e57b (diff) | |
fix: use `string.format` on `builtin.resume` error message (#1465)
| -rw-r--r-- | lua/telescope/builtin/internal.lua | 2 |
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 |
