branch: elpa/haskell-ts-mode commit e66403b8e66b643c459fdd2346829f12cfada910 Author: pranshu <pranshusharma...@gmail.com> Commit: pranshu <pranshusharma...@gmail.com>
Changes to indentatoin for infix Before indentation had bug which would cause breaking AST in speicfic scinaroes such as when infix was in 2 lines with operator in second line --- haskell-ts-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el index 5410ce73bc..ff6ab5572e 100644 --- a/haskell-ts-mode.el +++ b/haskell-ts-mode.el @@ -146,8 +146,8 @@ ((parent-is "comment") column-0 0) ((parent-is "imports") column-0 0) ;; Infix - ((parent-is "infix") standalone-parent 1) - ((node-is "infix") standalone-parent 2) + ((node-is "infix") standalone-parent 1) + ((parent-is "infix") grand-parent 0) ;; Lambda ((parent-is "lambda") standalone-parent 2)