lang/haskell: just detect evil

Instead of detect the feature/evil module. This is more versatile.
This commit is contained in:
Henrik Lissner 2018-10-24 01:14:35 -04:00
parent e77c4f2406
commit 86305f2175
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

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