mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
change @ token an UpperIdent
This commit is contained in:
parent
3d8884a96d
commit
57f7a79a52
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue