hscolour-1.24.4: Colourise Haskell code.

Safe HaskellSafe
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.