Interesting - I'm not sure what that would look like but I'd love to see what you come up with. I've got a few different vim plugins along these lines that I'm working on so I'd be interested in comparing notes at some point.
On Wednesday, February 4, 2015 at 12:28:33 PM UTC-8, Bozhidar Batsov wrote: > > 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 <vena...@gmail.com > <javascript:>> 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 clo...@googlegroups.com >> <javascript:> >> Note that posts from new members are moderated - please be patient with >> your first post. >> To unsubscribe from this group, send email to >> clojure+u...@googlegroups.com <javascript:> >> 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+u...@googlegroups.com <javascript:>. >> 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.