Skip to content

Commit 9d7e4cb

Browse files
committed
Update to use new for loops
1 parent c4b993c commit 9d7e4cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

grammars/lightscript.cson

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
fileTypes: [
22
"lsc"
33
"lsx"
4-
"light.js"
5-
"light.jsx"
4+
"lsc.js"
5+
"lsc.jsx"
66
]
77
firstLineMatch: "^#!\\s*/.*\\b(lsc-node|js)$\\n?"
88
name: "LightScript"
@@ -1847,7 +1847,7 @@ repository:
18471847
"literal-operators":
18481848
patterns: [
18491849
{
1850-
match: "(?<!\\.)\\b(?>delete|instanceof|in|new|of|typeof|void|with|from|thru|til)\\b"
1850+
match: "(?<!\\.)\\b(?>delete|instanceof|in|new|of|typeof|void|with|from|idx|elem|key|val)\\b"
18511851
name: "keyword.operator.js"
18521852
}
18531853
{
@@ -1858,7 +1858,7 @@ repository:
18581858
\\|\\| | # logical-or left-to-right both
18591859
or(?=\\s) | # logical-or left-to-right both
18601860
and(?=\\s)| # logical-and left-to-right both
1861-
not(?=\\s) # logical-not left-to-right both
1861+
not(?=\\s) # logical-not left-to-right both
18621862
'''
18631863
name: "keyword.operator.logical.js"
18641864
}

0 commit comments

Comments
 (0)