[doom] Fix flyspell configuration for git-mode and yaml-mode

This commit is contained in:
Sebastian Schulze 2021-07-28 08:53:40 +02:00
parent 0a40e623a5
commit 679b6ec67e
No known key found for this signature in database
GPG Key ID: F6BA63C6A7D3044E
1 changed files with 3 additions and 5 deletions

View File

@ -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 ()