lang/haskell: disable subword-mode by default

subword-mode is enabled by default for no other language, nor is it the
default behavior in vim (and it affects evil word motions), so it should
be opt-in.

Mentioned in #1083
This commit is contained in:
Henrik Lissner 2018-12-29 21:06:49 -05:00
parent 747c040c0e
commit c82f71e7fe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -12,8 +12,7 @@
(when (featurep! :feature syntax-checker)
(setq haskell-process-show-overlays nil)) ; flycheck makes this unnecessary
(add-hook! 'haskell-mode-hook
#'(subword-mode ; improves text navigation with camelCase
haskell-collapse-mode ; support folding haskell code blocks
#'(haskell-collapse-mode ; support folding haskell code blocks
interactive-haskell-mode))
(set-lookup-handlers! 'haskell-mode :definition #'haskell-mode-jump-to-def-or-tag)
(set-file-template! 'haskell-mode :trigger #'haskell-auto-insert-module-template :project t)