grammars/source.php.zephir.json in github-linguist-5.0.10 vs grammars/source.php.zephir.json in github-linguist-5.0.11

- old
+ new

@@ -150,11 +150,11 @@ "5": { "name": "punctuation.definition.parameters.end.zephir" } }, "match": "\\b([a-zA-Z_?.$][\\w?.$]*)\\s*:\\s*\\b(function)?\\s*(\\()(.*?)(\\))", - "name": "meta.function.zephiron.zephir" + "name": "meta.function.json.zephir" }, { "captures": { "1": { "name": "string.quoted.single.zephir" @@ -193,11 +193,11 @@ "name": "entity.name.function.zephir" } }, "comment": "Attempt to match \"foo\": function", "match": "(?:((')([^']*)('))|((\")([^\"]*)(\")))\\s*:\\s*\\b(function)?\\s*(\\()([^)]*)(\\))", - "name": "meta.function.zephiron.zephir" + "name": "meta.function.json.zephir" }, { "captures": { "1": { "name": "keyword.operator.new.zephir" @@ -212,11 +212,11 @@ { "match": "\\b((0(x|X)[0-9a-fA-F]+)|([0-9]+(\\.[0-9]+)?))\\b", "name": "constant.numeric.zephir" }, { - "match": "<([a-zA-Z0-9\\_\\\\]+)>", + "match": "<([a-zA-Z0-9\\_\\\\\\!]+)>", "name": "string.regexp.zephir" }, { "begin": "'", "beginCaptures": { @@ -287,18 +287,18 @@ }, "match": "(//).*$\\n?", "name": "comment.line.double-slash.zephir" }, { - "match": "\\b(boolean|string|char|class|resource|object|array|callable|namespace|use|as|get|__toString|set|abstract|double|float|fn|function|int|interface|long|var|void|ulong|uint|uchar|unsigned|self)\\b", + "match": "\\b(boolean|string|char|class|trait|resource|object|array|callable|namespace|use|as|get|__toString|set|abstract|double|float|fn|function|int|interface|long|var|void|ulong|uint|uchar|unsigned|self)\\b", "name": "storage.type.zephir" }, { - "match": "\\b(const|fetch|empty|likely|unlikely|isset|unset|extends|final|implements|private|protected|public|static|scoped|inline|deprecated|enum|throws|clone)\\b", + "match": "\\b(const|fetch|empty|likely|unlikely|isset|unset|extends|final|implements|private|protected|public|static|scoped|internal|inline|deprecated|enum|throws|clone)\\b", "name": "storage.modifier.zephir" }, { - "match": "\\b(echo|require|break|case|catch|let|continue|default|do|else|elseif|for|goto|if|return|switch|throw|try|while|loop)\\b", + "match": "\\b(echo|require|break|case|catch|let|continue|default|do|else|elseif|for|goto|if|return|switch|match|throw|try|while|loop)\\b", "name": "keyword.control.zephir" }, { "match": "\\b(in|reverse|instanceof|new|typeof)\\b", "name": "keyword.operator.zephir" \ No newline at end of file