hscolour-1.25: Colourise Haskell code.
Safe HaskellSafe-Inferred
LanguageHaskell98

Language.Haskell.HsColour.Colourise

Synopsis

Documentation

readColourPrefs :: IO ColourPrefs Source #

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.