diff options
| author | fdschmidt93 <39233597+fdschmidt93@users.noreply.github.com> | 2021-12-27 09:45:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-27 09:45:34 +0100 |
| commit | 627d89c959292628827239d421357a653144e44f (patch) | |
| tree | 855fdce36b90faf55b6569d2a7d33d0341e97cea /lua | |
| parent | 7ebc27d8186767d93c39f226c2044c7bd166991e (diff) | |
fix(oneshot_finder): generate entries for passed result (#1602)
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/telescope/finders/async_oneshot_finder.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lua/telescope/finders/async_oneshot_finder.lua b/lua/telescope/finders/async_oneshot_finder.lua index 067cb3a..5d31267 100644 --- a/lua/telescope/finders/async_oneshot_finder.lua +++ b/lua/telescope/finders/async_oneshot_finder.lua @@ -55,6 +55,11 @@ return function(opts) end if not job_completed then + if not vim.tbl_isempty(results) then + for _, v in ipairs(results) do + process_result(v) + end + end for line in stdout:iter(false) do num_results = num_results + 1 |
