Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
The main export for the style extension. Add this to your user config.
e.g.
rasa $ do style ...
styles :: HasBuffer s => Lens' s [Span Style] Source #
A lens over the styles stored in the current buffer.
addStyle :: Range -> Style -> BufAction () Source #
Applies a style over a given range in the buffer's style list.
These represent the possible extra attributes which may be applied.
DefFlair
represents the terminal's default text attributes.
A container which holds a foreground color, background color, and a flair.
a Nothing
represents that we should not change that attribute.