summaryrefslogtreecommitdiff
path: root/lua/telescope/finders.lua
diff options
context:
space:
mode:
authorsmolck <46855713+smolck@users.noreply.github.com>2020-09-06 22:07:51 -0500
committerGitHub <noreply@github.com>2020-09-06 23:07:51 -0400
commit2592586533868aede5c254f4599601bf53f699da (patch)
tree10ceb10951dab034ce2d0f8e625f3bf1734eaf67 /lua/telescope/finders.lua
parent675e240383454e96f0275062b1a67f8b55cc2798 (diff)
View the planets (#12)
* add planets viewer builtin * Remove print statement * Don't use fzf & echo * Add all planets as files and refactor accordingly * Remove planets.lua * add the moon * example ofe how to do this without ls everywhere * fix rebase and update to new style Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
Diffstat (limited to 'lua/telescope/finders.lua')
-rw-r--r--lua/telescope/finders.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/lua/telescope/finders.lua b/lua/telescope/finders.lua
index 3957f26..d3e2f61 100644
--- a/lua/telescope/finders.lua
+++ b/lua/telescope/finders.lua
@@ -120,6 +120,8 @@ function JobFinder:_find(prompt, process_result, process_complete)
maximum_results = self.maximum_results,
+ writer = opts.writer and Job:new(opts.writer) or nil,
+
on_stdout = on_output,
on_stderr = on_output,