update syntax highlighting to use vscode dark mode theme

This commit is contained in:
2025-12-05 00:25:24 -07:00
parent b06ad778d9
commit f2aedb96df
6 changed files with 116 additions and 49 deletions

View File

@@ -256,31 +256,6 @@ impl std::fmt::Display for SysCall {
impl SysCall {
pub fn is_syscall(identifier: &str) -> bool {
matches!(
identifier,
"yield"
| "sleep"
| "hash"
| "loadFromDevice"
| "setOnDevice"
| "setOnDeviceBatched"
| "setOnDeviceBatchedNamed"
| "acos"
| "asin"
| "atan"
| "atan2"
| "abs"
| "ceil"
| "cos"
| "floor"
| "log"
| "max"
| "min"
| "rand"
| "sin"
| "sqrt"
| "tan"
| "trunc"
)
tokenizer::token::is_syscall(identifier)
}
}