summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/JSSyntaxHighlighter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/JSSyntaxHighlighter.cpp')
-rw-r--r--Libraries/LibGUI/JSSyntaxHighlighter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibGUI/JSSyntaxHighlighter.cpp b/Libraries/LibGUI/JSSyntaxHighlighter.cpp
index 657afd4599..1de5d0bd72 100644
--- a/Libraries/LibGUI/JSSyntaxHighlighter.cpp
+++ b/Libraries/LibGUI/JSSyntaxHighlighter.cpp
@@ -40,6 +40,7 @@ static TextStyle style_for_token_type(Gfx::Palette palette, JS::TokenType type)
case JS::TokenType::Eof:
return { palette.syntax_comment() };
case JS::TokenType::NumericLiteral:
+ case JS::TokenType::BigIntLiteral:
return { palette.syntax_number() };
case JS::TokenType::StringLiteral:
case JS::TokenType::TemplateLiteralStart: