mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-11 05:34:11 +03:00
change @ token an UpperIdent
This commit is contained in:
parent
3d8884a96d
commit
57f7a79a52
@ -45,7 +45,6 @@ pub fn highlight(code: &str) -> Vec<String> {
|
||||
| Token::ColonEquals
|
||||
| Token::Colon
|
||||
| Token::And
|
||||
| Token::AtSign
|
||||
| Token::QuestionMark => {
|
||||
buf = push_html_span(buf, current_text, "kw");
|
||||
}
|
||||
@ -79,7 +78,8 @@ pub fn highlight(code: &str) -> Vec<String> {
|
||||
buf = push_html_span(buf, current_text, "delimeter");
|
||||
}
|
||||
// Types, Tags, and Modules
|
||||
Token::UpperIdent => {
|
||||
Token::UpperIdent
|
||||
| Token::AtSign => {
|
||||
buf = push_html_span(buf, current_text, "upperident");
|
||||
}
|
||||
// Variables modules and field names
|
||||
|
Loading…
Reference in New Issue
Block a user