branch: elpa/haskell-tng-mode commit cb1d2dbdd6a0cac54cf7d570ce8890a933cc0797 Author: Tseen She <ts33n....@gmail.com> Commit: Tseen She <ts33n....@gmail.com>
newline shouldn't trigger indent cycling --- haskell-tng-smie.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/haskell-tng-smie.el b/haskell-tng-smie.el index adb3de1..ac20a73 100644 --- a/haskell-tng-smie.el +++ b/haskell-tng-smie.el @@ -106,7 +106,8 @@ ;; TODO :before rules )) -(defconst haskell-tng-smie:return '(newline-and-indent) +(defconst haskell-tng-smie:return + '(newline-and-indent newline) "Users with custom newlines should add their command.") (defvar-local haskell-tng-smie:indentations nil)