Added evil integration to haskell-mode

Overwrite the 'o' and 'O' normal mode commands to correctly indent
new lines.
Code was adapted from: https://github.com/haskell/haskell-mode/issues/1265
This commit is contained in:
nam3less 2020-01-11 01:08:28 +01:00
parent 18c50cbe1c
commit d990cd9bd5
2 changed files with 3 additions and 3 deletions

View file

@ -14,7 +14,7 @@
(error "Failed to display Haskell REPL")))
;;;###autoload
(defun +haskell/evil-open-above
(defun +haskell/evil-open-above ()
"Opens a line above the current mode"
(interactive)
(evil-digit-argument-or-evil-beginning-of-line)