This commit is contained in:
Anton-4 2022-03-09 09:26:32 +01:00
parent a4d59ae0e7
commit cda90d987c
No known key found for this signature in database
GPG key ID: C954D6E0F9C0ABFD
8 changed files with 25 additions and 45 deletions

View file

@ -20,9 +20,9 @@ pub enum HighlightStyle {
Blank,
Comment,
DocsComment,
UppercaseIdent, // TODO remove other HighlightStyle subtypes of UppercaseIdent?
LowercaseIdent, // TODO remove other HighlightStyle subtypes of LowercaseIdent?
Keyword, // if, else, when
UppercaseIdent,
LowercaseIdent, // TODO we probably don't want all lowercase identifiers to have the same color?
Keyword, // if, else, when...
}
pub fn default_highlight_map() -> HashMap<HighlightStyle, RgbaTup> {