We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abc9b32 commit e055e26Copy full SHA for e055e26
syntaxes/source.tmLanguage.yaml
@@ -101,7 +101,7 @@ repository:
101
function-declaration:
102
patterns:
103
- name: meta.function
104
- begin: (function)\s?(\w+)\((\w*)\)\s?\{
+ begin: (function)\s?(\w+)\(([\w\s,]*)\)\s?\{
105
beginCaptures:
106
"1": { name: storage.type.function }
107
"2": { name: entity.name.function }
@@ -318,3 +318,12 @@ repository:
318
"2": { patterns: [{ include: "#expression" }] }
319
320
- include: "#statement"
321
+
322
+operators:
323
+ patterns:
324
+ - name: invalid.illegal.keyword.operator.assignment.compound
325
+ match: \+=|-=|\*=|/=|%=|\*\*=
326
+ - name: keyword.operator.comparison
327
+ match: ===|!==
328
+ - name: invalid.illegal.keyword.operator.comparison
329
+ match: ==|!=
0 commit comments