mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-04 02:08:17 +00:00
feat: add the new context keyword
This commit is contained in:
parent
8bfbe7706e
commit
50a4f1b5d4
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ fn token_from_node(node: &LinkedNode) -> Option<TokenType> {
|
|||
}
|
||||
Dollar => Some(TokenType::Delimiter),
|
||||
None | Auto | Let | Show | If | Else | For | In | While | Break | Continue | Return
|
||||
| Import | Include | As | Set => Some(TokenType::Keyword),
|
||||
| Import | Include | As | Set | Context => Some(TokenType::Keyword),
|
||||
Bool => Some(TokenType::Bool),
|
||||
Int | Float | Numeric => Some(TokenType::Number),
|
||||
Str => Some(TokenType::String),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue