Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preserve comments before transactions when sorting #355

Open
glasser opened this issue Mar 18, 2023 · 0 comments
Open

Preserve comments before transactions when sorting #355

glasser opened this issue Mar 18, 2023 · 0 comments

Comments

@glasser
Copy link

glasser commented Mar 18, 2023

I would like to use ledger-mode-clean-buffer as a save hook (which I have used a custom fork of ledgerfmt for: glasser/ledger@d3e0cc8) but it seems to take comments that I put between transactions and separate them from the transactions.

It seems reasonable to me that a comment that's immediately before a transaction should be considered related to that transaction and kept alongside it. Is there some mode or setting I'm missing that could enable that for the current implementation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant