can't use "S" in normal mode with haskell-mode
markert.michael at gmail.com
Tue Mar 19 18:32:24 CET 2013
On Tue, Mar 19 2013 (18:13), Linus Arver <linusarver at 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
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 835 bytes
Desc: not available
Url : https://lists.ourproject.org/pipermail/implementations-list/attachments/20130319/d0d80452/attachment.pgp
More information about the implementations-list