Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Commit 2a6da6a

Browse files
authored
Update tree-sitter-javascript.cson
1 parent 16b9f3e commit 2a6da6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

grammars/tree-sitter-javascript.cson

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,11 @@ scopes:
114114

115115
'identifier': [
116116
{
117-
match: '^(global|module|exports|__filename|__dirname)$',
117+
match: '^(global|globalThis|module|exports|__filename|__dirname)$',
118118
scopes: 'support.variable'
119119
},
120120
{
121-
match: '^(window|event|document|performance|screen|navigator|console)$'
121+
match: '^(window|self|frames|event|document|performance|screen|navigator|console)$'
122122
scopes: 'support.variable.dom'
123123
},
124124
{

0 commit comments

Comments
 (0)