I’m trying to enhance the existing language-clojure plugin to spit out docs for the symbol under the cursor. To do this I’m using Clojure’s own machinery, which involves firing up a persistent REPL, issuing (doc foobar)
commands to it and grabbing the output. Trouble is, I can’t seem to get an stdin pipe like I would with spawn
.
Should it be possible to just pass
options: { stdio: ['pipe', null, null] }
to the BufferedProcess
constructor? When I do this, the stdin
property of the process object remains undefined
.