Closed ghost closed 2 years ago
@ixffxi Sorry for late reaction.
I've added g:iced#format#options
option for customizing internal formatter(cljfmt).
Nightly document is here. https://vim-iced-nightly.netlify.app/vim-iced.html#g%3Aiced%23format%23options
Could you try dev branch?
Not at all, you have more important things to do than this. Thank you for your quick action!
I tried it and its working nicely. I fell into a little trap though: Tried it with a very minimal config and I forgot to set let g:sexp_mappings = {'sexp_indent': '', 'sexp_indent_top': ''}
like it is described in "9. Formatting" With the sexp indention disabled the patch looks fine to me.
One small find in the new section of the documentation: "Default valud (<-- typo) is {}."
Thank you! π
@ixffxi Thanks for your confirmation!
One small find in the new section of the documentation: "Default valud (<-- typo) is {}."
Oh, nice catch! I've fixed, and just released v3.9.1 #415 βΊοΈ
As the vim-iced documentation says, the following is already possible:
It would be great, if you could pass in the top configuration map for cljfmt here instead and by doing so change settings like:
Thank you for making vim-iced π― π