From 679b6ec67e810cfccac9602d5a344d1353adfc1f Mon Sep 17 00:00:00 2001 From: Sebastian Schulze Date: Wed, 28 Jul 2021 08:53:40 +0200 Subject: [PATCH] [doom] Fix flyspell configuration for git-mode and yaml-mode --- dot_doom.d/config.el.tmpl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dot_doom.d/config.el.tmpl b/dot_doom.d/config.el.tmpl index 3f05b8a..ce87c53 100644 --- a/dot_doom.d/config.el.tmpl +++ b/dot_doom.d/config.el.tmpl @@ -99,19 +99,17 @@ (add-hook 'yaml-mode-hook (lambda () - (indent-guide-mode 1) (auto-fill-mode -1) - (flyspell-mode -1) - (flyspell-prog-mode) - (flycheck-mode 1) + (ispell-change-dictionary "en_GB") + (spell-fu-mode) (flycheck-yamllint-setup) (flycheck-select-checker 'yaml-yamllint) )) (add-hook 'git-commit-mode-hook (lambda () + (end-of-line) (ispell-change-dictionary "en_GB") (spell-fu-mode) - (end-of-line) (evil-insert-state))) (add-hook 'org-capture-mode-hook (lambda ()