diff options
| author | tami5 <kkharji@protonmail.com> | 2022-03-13 20:11:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-13 18:11:27 +0100 |
| commit | ef7b6ada6d91a1b2932492d78c730e4fc00cd2ea (patch) | |
| tree | dda4cb7cb3357724c83e85666bc8dc5c1ee2e898 /lua/telescope/pickers/entry_display.lua | |
| parent | 75b57304323861631519e204d9fbca7bdbf1c4c5 (diff) | |
feat: improve UX with vim.notify (#1763)
* fix(notify): don't report request on new line
* ref(notify): update message format
* ref(msgs): always quote values + decrease duplication
* fix(ci): undefined variables
* ref(actions): temporary silent actions.__index errors
* cleanup
* revert: panic effort, we continue to use error for those
Co-authored-by: Simon Hauser <Simon-Hauser@outlook.de>
Diffstat (limited to 'lua/telescope/pickers/entry_display.lua')
| -rw-r--r-- | lua/telescope/pickers/entry_display.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/telescope/pickers/entry_display.lua b/lua/telescope/pickers/entry_display.lua index 904641c..937d75e 100644 --- a/lua/telescope/pickers/entry_display.lua +++ b/lua/telescope/pickers/entry_display.lua @@ -39,7 +39,7 @@ entry_display.create = function(configuration) return function(self, picker) local results = {} local highlights = {} - for i = 1, table.getn(generator) do + for i = 1, #generator do if self[i] ~= nil then local str, hl = generator[i](self[i], picker) if hl then |
