Nice! I think it'd be a good idea to wrap cljfmt in a nREPL middleware that we can use from both CIDER and fireplace (and possibly other editors). I might look into adding this to cider-nrepl.
On 4 February 2015 at 19:07, W. David Jarvis <venant...@gmail.com> wrote: > Today I'm open sourcing vim-cljfmt ( > https://github.com/venantius/vim-cljfmt). As the name implies, it's a vim > plugin for weavejester's cljfmt, intended to fit into the vim developer's > workflow much as gofmt does, with a BufWritePre hook to format your code on > write. It leverages Fireplace.vim's quasi-REPL to do the formatting, so it > doesn't cause Vim to hang while waiting for Lein to run, either (the > initial `require` of the cljfmt namespace into the REPL will take a sec, of > course, but you'll only have to do it once). > > Feedback, bug reports, etc. very welcome. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.