summaryrefslogtreecommitdiff
path: root/tests/examplefiles/ts
diff options
context:
space:
mode:
authorMestery <mestery@pm.me>2021-07-18 10:36:31 +0200
committerGitHub <noreply@github.com>2021-07-18 10:36:31 +0200
commitfe572dcec9182f998a1961bc99531f39aa88f041 (patch)
treef6800606aef60aefd9cbec26ad481b69f71ea97f /tests/examplefiles/ts
parent6d9b79eb540dd6694b5d3b9903dcebec6b39be95 (diff)
downloadpygments-git-fe572dcec9182f998a1961bc99531f39aa88f041.tar.gz
Update javascript lexer (#1814)
* make ts extends js lexer * add regex's d flag for js lexers cf. https://v8.dev/features/regexp-match-indices * update js builtins, operators, exceptions * fixup! update js builtins, operators, exceptions * add typescript override keywork * Update _mapping.py
Diffstat (limited to 'tests/examplefiles/ts')
-rw-r--r--tests/examplefiles/ts/typescript_example.output4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/examplefiles/ts/typescript_example.output b/tests/examplefiles/ts/typescript_example.output
index a29bed22..93d35fa8 100644
--- a/tests/examplefiles/ts/typescript_example.output
+++ b/tests/examplefiles/ts/typescript_example.output
@@ -205,7 +205,7 @@
' ' Text
'=' Operator
' ' Text
-'new' Keyword
+'new' Operator.Word
' ' Text
'Snake' Name.Other
'(' Punctuation
@@ -221,7 +221,7 @@
' ' Text
'=' Operator
' ' Text
-'new' Keyword
+'new' Operator.Word
' ' Text
'Horse' Name.Other
'(' Punctuation