From 2592586533868aede5c254f4599601bf53f699da Mon Sep 17 00:00:00 2001 From: smolck <46855713+smolck@users.noreply.github.com> Date: Sun, 6 Sep 2020 22:07:51 -0500 Subject: 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 --- lua/telescope/finders.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lua/telescope/finders.lua') 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, -- cgit v1.2.3