Vim-Fireplace now supports code formatting via Cider/clj-fmt
Finally my patch to access the clj-fmt feature in the cider-nrepl made into the master branch. The feature is mapped to the formatexpr of vim, which is accessed via gq
. So to clean up the mess you just created, press gqaF
(format the outermost form).
https://github.com/tpope/vim-fireplace/commit/2193122e13fdf9e9af30475d8d9a90746234c1d8