dev: Enable spell checking for comments in code

To improve the readability add spell checks when writing comments in
code files.
This commit is contained in:
finga 2023-07-14 12:49:34 +02:00
parent a61d32cdfe
commit e19e5b0a4e

View file

@ -54,3 +54,6 @@
(add-hook 'c-mode-hook (add-hook 'c-mode-hook
(lambda () (lambda ()
(set-fill-column 100))) (set-fill-column 100)))
;; enable flyspell checks for comments in code
(add-hook 'prog-mode-hook #'flyspell-prog-mode)