~technomancy/fennel#150: 
[fnlfmt] extreme indentation

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))})
Status
REPORTED
Submitter
~lordmzte
Assigned to
No-one
Submitted
7 months ago
Updated
3 months ago
Labels
enhancement fnlfmt

~technomancy 3 months ago

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.

Register here or Log in to comment, or comment via email.