doomemacs/modules/mod-fly.el

21 lines
515 B
EmacsLisp
Raw Normal View History

(require-packages
'(flycheck ; syntax checker
flyspell ; spell checker
))
2014-07-20 09:17:43 -04:00
(diminish 'flyspell-mode " ?")
(setq ispell-program-name "aspell")
(setq ispell-list-command "--list")
(setq flycheck-indication-mode 'right-fringe)
(setq-default flycheck-disabled-checkers '(emacs-lisp-checkdoc))
2014-07-20 09:17:43 -04:00
(add-hook 'after-init-hook (lambda() (global-flycheck-mode 1)))
(dolist (hook '(markdown-mode-hook git-commit-mode-hook org-mode-hook))
(add-hook hook (lambda() (flyspell-mode 1))))
;;
(provide 'mod-fly)