Conversation
* ledger-mode.el (ledger-mode): Set indent-region-function. * ledger-post.el (ledger-indent-region): New function that indents the region by calling ledger-indent-line for each line. Closes bug ledger#197 Signed-off-by: J. Dekker <jdek@itanimul.li>
|
@purcell hi, possible to get a quick review on this? Would be quite nice to have this fixed in master. |
|
Probably @enderw88 would be better placed to comment on whether this is a desirable fix — I'm not sure about the history of indentation in ledger-mode |
|
Maybe @bcc32 could take a look? |
|
As far as I can tell, the default |
|
ie. what you've implemented feels the same as simply not setting |
|
Good catch, I wasn't aware that Test input: Current With
|
Hmmm... do we have any tests for that, perhaps? You could consider pushing a failing test to show what you'd expect. |
Closes #197