Skip to content

Commit

Permalink
Update hack.json
Browse files Browse the repository at this point in the history
  • Loading branch information
azjezz authored and PranayAgarwal committed Mar 8, 2019
1 parent 2381752 commit c127118
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions syntaxes/hack.json
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
"name": "storage.type.array.php"
},
{
"match": "\\b(?:bool|int|float|string|array|resource|mixed|arraykey|nonnull)\\b",
"match": "\\b(?:bool|int|float|string|array|resource|mixed|arraykey|nonnull|dict|vec|keyset)\\b",
"name": "storage.type.php"
},
{
Expand Down Expand Up @@ -1075,10 +1075,10 @@
"name": "storage.type.php"
}
},
"match": "(?i)\\s*\\(\\s*(array|real|double|float|int(eger)?|bool(ean)?|string|object|binary|unset|arraykey|nonnull)\\s*\\)"
"match": "(?i)\\s*\\(\\s*(array|real|double|float|int(eger)?|bool(ean)?|string|object|binary|unset|arraykey|nonnull|dict|vec|keyset)\\s*\\)"
},
{
"match": "(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|trait|parent|self|object|arraykey|nonnull)\\b",
"match": "(?i)\\b(array|real|double|float|int(eger)?|bool(ean)?|string|class|clone|var|function|interface|trait|parent|self|object|arraykey|nonnull|dict|vec|keyset)\\b",
"name": "storage.type.php"
},
{
Expand Down Expand Up @@ -2131,7 +2131,7 @@
"name": "support.function.url.php"
},
{
"match": "(?i)\\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|int(eger)?|object|double|float|long|array|re(source|al)|bool|arraykey|nonnull))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\\b",
"match": "(?i)\\b(s(trval|e(ttype|rialize))|i(s(set|_(s(calar|tring)|nu(ll|meric)|callable|int(eger)?|object|double|float|long|array|re(source|al)|bool|arraykey|nonnull|dict|vec|keyset))|ntval|mport_request_variables)|d(oubleval|ebug_zval_dump)|unse(t|rialize)|print_r|empty|var_(dump|export)|floatval|get(type|_(defined_vars|resource_type))|boolval)\\b",
"name": "support.function.var.php"
},
{
Expand Down

0 comments on commit c127118

Please sign in to comment.