[doom] Fix flyspell configuration for git-mode and yaml-mode
This commit is contained in:
parent
0a40e623a5
commit
679b6ec67e
|
@ -99,19 +99,17 @@
|
||||||
|
|
||||||
(add-hook 'yaml-mode-hook
|
(add-hook 'yaml-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(indent-guide-mode 1)
|
|
||||||
(auto-fill-mode -1)
|
(auto-fill-mode -1)
|
||||||
(flyspell-mode -1)
|
(ispell-change-dictionary "en_GB")
|
||||||
(flyspell-prog-mode)
|
(spell-fu-mode)
|
||||||
(flycheck-mode 1)
|
|
||||||
(flycheck-yamllint-setup)
|
(flycheck-yamllint-setup)
|
||||||
(flycheck-select-checker 'yaml-yamllint)
|
(flycheck-select-checker 'yaml-yamllint)
|
||||||
))
|
))
|
||||||
|
|
||||||
(add-hook 'git-commit-mode-hook (lambda ()
|
(add-hook 'git-commit-mode-hook (lambda ()
|
||||||
|
(end-of-line)
|
||||||
(ispell-change-dictionary "en_GB")
|
(ispell-change-dictionary "en_GB")
|
||||||
(spell-fu-mode)
|
(spell-fu-mode)
|
||||||
(end-of-line)
|
|
||||||
(evil-insert-state)))
|
(evil-insert-state)))
|
||||||
|
|
||||||
(add-hook 'org-capture-mode-hook (lambda ()
|
(add-hook 'org-capture-mode-hook (lambda ()
|
||||||
|
|
Loading…
Reference in New Issue