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


4 Font Lock Support

haskell-mode supports syntax highlighting via Emacs’ Font Lock minor mode which should be enabled by default in current Emacsen. See (emacs)Font Lock, for more information on how to control font-lock-mode.

anim/font-lock

Syntax highlighting facilities parse strings and string escape sequences and are able to highlight unrecognized constructs.

anim/string-escape-highlight

Haskell Mode shows keywords, identifiers, operators, constructors and types in different colors.

anim/font-lock-types

There is also support to use mode-specific syntax highlighing for quasiquotes. Customize haskell-font-lock-quasi-quote-modes to make sure your quoters are supported.

anim/font-lock-quasi-quotes