Next: , Previous: , Up: Top   [Index]

16 Using with flyspell-prog-mode

Strings and comments can be checked for spelling mistakes. There is a standard Emacs mode for this purpose, flyspell-prog-mode, that can be enabled in Haskell buffers. Spelling errors are underlined using squiggly red lines.


Documentation for flyspell-prog-mode can be found in See (emacs)Spelling. Here we point to a couple of useful keybindings:

To enable spell checking of strings and comments add this line to your ~/.emacs file:

(add-hook 'haskell-mode-hook 'flyspell-prog-mode)