On Tue, Mar 19 2013 (18:13), Linus Arver <linusar...@gmail.com> wrote: > So I guess haskell-mode-hook is responsible for this. I've looked at > haskell-mode.el and it appears that this function is responsible: > > (defun haskell-mode-suggest-indent-choice () > "Ran when the user tries to indent in the buffer but no indentation > mode has been selected. > Brings up the documentation for haskell-mode-hook." > (describe-variable 'haskell-mode-hook))
Yes, well the easy way is: Configure your haskell mode correctly and turn on an indentation mode. > Maybe evil-change-whole-line for "S" (and also "cc", as this triggers the > same behavior) has some indenting code in it, which ends up triggering > haskell-mode-suggest-indent-choice? Actually not direct, but when it does when entering insert-state, this (add-hook haskell-mode-hook (lambda () (setq evil-auto-indent nil))) should work around it. Michael
pgp9Bi1LKG2L3.pgp
Description: PGP signature
_______________________________________________ implementations-list mailing list implementations-list@lists.ourproject.org https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list