The following sample has been formatted with fnlfmt
. It is indented
way too much.
;; insane indentation!
(vim.api.nvim_create_autocmd :User
{:pattern :PackerCompileDone
:once true
:callback #((. (require :mzte_nv) :compile
:compilePath) (. (require :packer)
:config
:compile_path))})
Yeah, honestly most of the issues remaining with fnlfmt stem from the fact that it doesn't look ahead in order to see when it needs to add a newline. This would be a fairly significant additional feature, but I think it's worth doing at some point.
Just realized I misread the example here and this is a lot simpler than I thought. Pushed a fix in e8c8502.