// Parts of this code are based on https://github.com/Aloso/to-html/blob/main/LICENSE,
// which is MIT-licensed.
use lazy_static;
use Regex;
lazy_static!
/// This function receives a string with color and highlighting information
/// in ANSI color code format and treats them to be reported by the language server.
///
/// As tracked in issue #1, diagnostic highlighting still does not implement color
/// information in VSCode, so for now we just remove color codes.