diff options
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 |
