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:
parent
a61d32cdfe
commit
e19e5b0a4e
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue