lang/haskell: fix evil keybinds for intero/dante

This commit is contained in:
Henrik Lissner 2018-10-24 01:07:25 -04:00
parent 9599ca3cf2
commit f9d6ee49ee
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 4 additions and 0 deletions

View file

@ -17,6 +17,8 @@
(when (featurep! :feature syntax-checker) (when (featurep! :feature syntax-checker)
(flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint))) (flycheck-add-next-checker 'haskell-dante '(warning . haskell-hlint)))
(when (featurep 'evil)
(add-hook 'dante-mode-hook #'evil-normalize-keymaps))
(map! :map dante-mode-map (map! :map dante-mode-map
:localleader :localleader
:n "t" #'dante-type-at :n "t" #'dante-type-at

View file

@ -19,6 +19,8 @@ This is necessary because `intero-mode' doesn't do its own error checks."
(when (featurep! :feature syntax-checker) (when (featurep! :feature syntax-checker)
(flycheck-add-next-checker 'intero '(warning . haskell-hlint))) (flycheck-add-next-checker 'intero '(warning . haskell-hlint)))
(when (featurep! :feature evil)
(add-hook 'intero-mode-hook #'evil-normalize-keymaps))
(map! :map intero-mode-map (map! :map intero-mode-map
:localleader :localleader
:n "t" #'intero-type-at :n "t" #'intero-type-at