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:
parent
18c50cbe1c
commit
d990cd9bd5
2 changed files with 3 additions and 3 deletions
|
@ -33,8 +33,8 @@
|
|||
(add-to-list 'completion-ignored-extensions ".hi")
|
||||
|
||||
(map! :map haskell-mode-map
|
||||
"o" #'+haskell/evil-open-below
|
||||
"O" #'+haskell/evil-open-above)
|
||||
:n "o" #'+haskell/evil-open-below
|
||||
:n "O" #'+haskell/evil-open-above)
|
||||
|
||||
(map! :localleader
|
||||
:map haskell-mode-map
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue