branch: elpa/haskell-ts-mode commit 4c3ca560f8d8ae91720576b13a136d370594b71b Author: Pranshu Sharma <pran...@bauherren.ovh> Commit: Pranshu Sharma <pran...@bauherren.ovh>
electric indent fix Other charecters were hooked to electic indent like '=' and would fuck up the indentation. Like if you were trying to write: func :: Ord => a -> [a] -> a There as soon as you type the '=' after 'ord' it would do: func :: Ord = Unacceptable. --- haskell-ts-mode.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/haskell-ts-mode.el b/haskell-ts-mode.el index 36d83ee8d8..65b26e3dc0 100644 --- a/haskell-ts-mode.el +++ b/haskell-ts-mode.el @@ -488,7 +488,7 @@ when `haskell-ts-prettify-words' is non-nil.") (goto-char (line-end-position 0)) (current-column)))) (insert (make-string previous-line-width ?\s)))) - t) + nil) (defun haskell-ts--fontify-func (node face) (if (string= "variable" (treesit-node-type node))