formatting

This commit is contained in:
Luke Boswell 2023-03-12 17:11:35 +11:00
parent 182689d083
commit 2d0bed5634
No known key found for this signature in database
GPG key ID: F6DB3C9DB47377B0
2 changed files with 10 additions and 8 deletions

View file

@ -83,8 +83,7 @@ pub fn highlight(code: &str) -> Vec<String> {
buf = push_html_span(buf, current_text, "upperident");
}
// Variables modules and field names
Token::LowerIdent
| Token::Underscore => {
Token::LowerIdent | Token::Underscore => {
buf = push_html_span(buf, current_text, "lowerident");
}
// Anyting else that wasn't tokenised