Skip to content

Commit 49f2bfb

Browse files
committed
update syntaxes tokens
1 parent 5096b50 commit 49f2bfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntaxes/lua.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@
161161
"name": "support.function.library.lua"
162162
},
163163
{
164-
"match": "\\b(and|or|not)\\b",
164+
"match": "\\b(and|or|not|\\|\\||\\&\\&|\\!)\\b",
165165
"name": "keyword.operator.lua"
166166
},
167167
{
@@ -177,7 +177,7 @@
177177
"name": "variable.other.lua"
178178
},
179179
{
180-
"match": "\\+|-|%|#|\\*|\\/|\\^|==?|~=|<=?|>=?|(?<!\\.)\\.{2}(?!\\.)",
180+
"match": "\\+|-|%|#|\\*|\\/|\\^|==?|~=|!=|<=?|>=?|(?<!\\.)\\.{2}(?!\\.)",
181181
"name": "keyword.operator.lua"
182182
}
183183
],

0 commit comments

Comments
 (0)