hscolour-1.17: Colourise Haskell code.

Language.Haskell.HsColour.Colourise

Synopsis

Documentation

readColourPrefs :: IO ColourPrefsSource

Read colour preferences from .hscolour file in the current directory, or failing that, from $HOME/.hscolour, and failing that, returns a default set of prefs.

colourise :: ColourPrefs -> TokenType -> [Highlight]Source

Convert token classification to colour highlights.