Fork me on GitHub
#conjure
<
2022-04-25
>
dave13:04:41

I didn't realize that Conjure prompted you for input when STDIN is read. Mind blown! 🤯

Dumch09:05:56

how to trigger it?) I tried (read-line) and nothing

Dumch18:05:10

@U38J3881W, what could be the issue? I am strinting repl with

(def- run-deps-cmd 
  (.. "clj -Sdeps"
      " '{:deps {nrepl/nrepl {:mvn/version \"0.7.0\"} cider/cider-nrepl {:mvn/version \"0.25.2\"}}}'"
      " -m nrepl.cmdline --middleware '[\"cider.nrepl/cider-middleware\"]' --interactive"))
(vim.api.nvim_command (.. "terminal " run-deps-cmd))

Olical13:05:37

What happens if you remove the --interactive flag in your REPL setup?

Olical13:05:00

Wondering if --interactive moves all prompts etc to the REPL and doesn't prompt the editor like it would normally.

Dumch12:05:21

This helped, thanks!

Olical13:04:35

Yeah! It has support in Clojure, other languages want it but I need something in the repl to prompt me for it like nREPL does.

Olical13:04:40

nREPL is goood

👍 2
zelda-kobe18:04:27

hi all, has anyone here gotten Conjure working in a #cljsrn Krell project? (React Native)