-
Notifications
You must be signed in to change notification settings - Fork 344
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
Haskell indentation weirdly re-indents lines after sp-kill-sexp #1031
Comments
It also happens after |
There must be a way to disable re-indenting after this sort of operations. |
Can you add a test case to `tests/haskell-indentation-tests.el`?
|
To add tests for this, we first need to understand why exactly this happens. I don't think installing |
If the test could test that 'something' without smartparens then that is even better in my book. |
After killing, I suppose this makes sense in languages that delimit blocks with characters rather than indentation. The other values of |
In this case this issue is a duplicate of #796. Closing as dupe. |
Noted the need of indent-region in #1032. |
Perfect, thanks guys! |
I don't know why this happens, quick serch doens't show any relevant hook or advices in
haskell-indentation.hs
. However, when you callsp-kill-sexp
(from Smartparens) withhaskell-indentation-mode
enabled, current line is weirdly re-indented after deletion of the sexp. So, every time you need to re-indent it.The text was updated successfully, but these errors were encountered: