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

delete-trailing-whitespace removes empty LHS code lines #1855

Open
gergoerdi opened this issue Oct 23, 2024 · 0 comments
Open

delete-trailing-whitespace removes empty LHS code lines #1855

gergoerdi opened this issue Oct 23, 2024 · 0 comments

Comments

@gergoerdi
Copy link

In literate-haskell-mode, given some input like

foo
> bar
> 
> baz
quux

The command delete-trailing-whitespace removes the empty code lines, producing:

foo
> bar

> baz
quux

The problem with this is that this results in two separate code blocks for bar and baz which are potentially typeset very differently than a single code block containing three lines with the middle being empty.

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