mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -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)
|
||||
|
Reference in New Issue
Block a user