summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--emacs.d/init.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/emacs.d/init.el b/emacs.d/init.el
index a1574d5..e5aba48 100644
--- a/emacs.d/init.el
+++ b/emacs.d/init.el
@@ -129,8 +129,12 @@
:family "Hack")
;; Turn on flyspell spell checking.
+(require 'flyspell)
(add-hook 'text-mode-hook 'flyspell-mode)
(add-hook 'prog-mode-hook 'flyspell-prog-mode)
+(set-face-attribute 'flyspell-incorrect nil
+ :foreground "#ff0000")
+
;; Show matching parens.
(add-hook 'text-mode-hook 'show-paren-mode)