[][src]Function rslint_lexer::color

pub fn color(source: &str) -> String

Colors a piece of source code using ANSI.
The string returned will be unaltered if stdout and stderr are not terminals.