lang/haskell: fix evil keybinds for intero/dante
This commit is contained in:
parent
9599ca3cf2
commit
f9d6ee49ee
2 changed files with 4 additions and 0 deletions
|
@ -17,6 +17,8 @@
|
|||
(when (featurep! :feature syntax-checker)
|
||||
(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
|
||||
:localleader
|
||||
:n "t" #'dante-type-at
|
||||
|
|
|
@ -19,6 +19,8 @@ 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)
|
||||
(add-hook 'intero-mode-hook #'evil-normalize-keymaps))
|
||||
(map! :map intero-mode-map
|
||||
:localleader
|
||||
:n "t" #'intero-type-at
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue