Closed tpeacock19 closed 7 months ago
Yeah, that makes sense. We should be enabling the major mode before setting the local variables. I think this just needs a changelog entry, no need to update the README as the new behavior is what a user would intuitively expect to happen.
I put it under bugs fixed if that works
I ran into some issues using apheleia while contributing to a project that works with
indent-tabs-mode
disabled. This led to this slight modification ofapheleia-indent-lisp-buffer
This allows for any local values for
indent-line-function
,lisp-indent-function
to be carried over when formatting. Additionally, addedindent-tabs-mode
in order to prevent adding tabs when unwanted.If there is any additional documentation you would like me to provide, let me know and I can update.