diff options
Diffstat (limited to 'cli/tools/repl.rs')
-rw-r--r-- | cli/tools/repl.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tools/repl.rs b/cli/tools/repl.rs index c610d7e66..9b4d94a23 100644 --- a/cli/tools/repl.rs +++ b/cli/tools/repl.rs @@ -238,6 +238,8 @@ impl Highlighter for LineHighlighter { colors::gray(&line[span]).to_string() } else if ident == *"Infinity" || ident == *"NaN" { colors::yellow(&line[span]).to_string() + } else if ident == *"async" || ident == *"of" { + colors::cyan(&line[span]).to_string() } else { line[span].to_string() } |