Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- module Language.Haskell.HsColour.ColourHighlight
- data ColourPrefs = ColourPrefs {}
- readColourPrefs :: IO ColourPrefs
- defaultColourPrefs :: ColourPrefs
- colourise :: ColourPrefs -> TokenType -> [Highlight]
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.