Split response lines for output logging

This commit is contained in:
Walter Leibbrandt
2022-10-25 16:09:28 +02:00
parent d8f9ac379c
commit ebeff7b1e4
2 changed files with 5 additions and 3 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
(module conjure-macroexpand.main
{require {a aniseed.core
nvim aniseed.nvim
str aniseed.string
bridge conjure.bridge
client conjure.client
eval conjure.eval
@@ -20,7 +21,7 @@
(defn- output-expanded [orig]
(fn [r]
(log.append [(.. "; " orig) r] {:break? true})))
(log.append (a.concat [(.. "; " orig)] (str.split r "\n")) {:break? true})))
(defn clj-macroexpand [expand-cmd]
(let [form (current-form)