HomePhorge

perf: return a table of results from the command finder

Description

perf: return a table of results from the command finder

When reading the output of a command we are now reading the stream line
by line and building the table of results. This will save us a loop of
the results later, if we returned a string we need to split the string
before adding each line to the completion buffer because nvim only
supports replacing one line at a time.

Details

Provenance
AdeAttwoodAuthored on Apr 25 2023, 7:21 PM
Parents
R1:10a3117aae0e: fix: never let a shell command fail
Branches
Unknown
Tags
Unknown

Event Timeline