hi all,
i have started using [wucuo](https://github.com/redguardtoo/wucuo) for spell checking. my configuration is pretty straightforward
(use-package wucuo
:ensure t
:config
;; -------------------------------------------------------------------------
;; spell checking via `aspell'
(setq ispell-program-name "aspell")
(setq ispell-extra-args '("--sug-mode=ultra" "--lang=en_US" "--run-together" "--run-together-limit=16"))
;; -------------------------------------------------------------------------
;; disable spell checking in some major-modes
(setq wucuo-spell-check-buffer-predicate
(lambda ()
(not (memq major-mode '(dired-mode
log-edit-mode
compilation-mode
help-mode
profiler-report-mode
speedbar-mode
gud-mode
calc-mode
Info-mode)))))
:hook
(prog-mode . wucuo-start)
(text-mode . wucuo-start)
)
this starts the spell checking as expected, and that works too. however, for source code buffers, i would like to run spell checker on comments only and not on the code itself. how do i do that ?