Fork me on GitHub
#emacs
<
2022-05-02
>
borkdude08:05:48

🎉 9
❤️ 1
ericdallo12:05:39

did you consider having the same for jet? I know we can create custom functions to shell out and achieve that, but having useful commands/functions built-in in a package sounds like a good idea to me :)

ericdallo12:05:09

for example, I use to have this function on my config:

(defun jet-pretty ()
  (interactive)
  (shell-command-on-region
   (region-beginning)
   (region-end)
   "jet --pretty --edn-reader-opts '{:default tagged-literal}'"
   (current-buffer)
   t
   "*jet error buffer*"
   t))

borkdude13:05:25

I'm happy to receive a PR for that and make you the author. I don't know enough about elips myself

ericdallo13:05:15

Cool, I can give it a try later :)

👍 1