From e19e5b0a4e897ae38713bb1ff75c1772df8eda12 Mon Sep 17 00:00:00 2001 From: finga Date: Fri, 14 Jul 2023 12:49:34 +0200 Subject: [PATCH] dev: Enable spell checking for comments in code To improve the readability add spell checks when writing comments in code files. --- .emacs.d/config/dev.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.emacs.d/config/dev.el b/.emacs.d/config/dev.el index bf174d4..807533e 100644 --- a/.emacs.d/config/dev.el +++ b/.emacs.d/config/dev.el @@ -54,3 +54,6 @@ (add-hook 'c-mode-hook (lambda () (set-fill-column 100))) + +;; enable flyspell checks for comments in code +(add-hook 'prog-mode-hook #'flyspell-prog-mode)