Replies: 1 comment 2 replies
-
You can add the necessary indent using the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would it be possible to add an option to change the default indentation start for splitting? Currently, TreeSJ uses the first non-whitespace character of the current line. It would enable my use-case to change that to the first character of the target node.
I intend to write a split-join config for Haskell, but I can’t make it work with TreeSJ indentation behaviour.
Consider a Haskell program like this:
with a Haskell config like this:
I get:
This is incorrect, because in a let statement, following lines must be indented more than the binding’s name (
x
). Something like this:Beta Was this translation helpful? Give feedback.
All reactions