Skip to content

Commit 48e4ccc

Browse files
committed
Align | with = in data declarations
1 parent b562d05 commit 48e4ccc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

haskell-indentation.el

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -648,8 +648,10 @@ For example
648648
(haskell-indentation-add-indentation current-indent)
649649
(throw 'parse-end nil)))
650650
((string= current-token "=")
651-
(haskell-indentation-separated
652-
#'haskell-indentation-expression "|" "deriving"))
651+
(haskell-indentation-with-starter
652+
(lambda ()
653+
(haskell-indentation-separated
654+
#'haskell-indentation-expression "|" "deriving"))))
653655
((string= current-token "where")
654656
(haskell-indentation-with-starter
655657
#'haskell-indentation-expression-layout nil))))

0 commit comments

Comments
 (0)