Skip to content

Commit

Permalink
Remove useless "name" (#53)
Browse files Browse the repository at this point in the history
When inside a `"patterns"` array
`"name"` needs to be paired with `"match"` or `"begin"`
it is useless with `"include"`
  • Loading branch information
RedCMD authored Nov 20, 2023
1 parent d4ba280 commit 54e6ada
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grammars/dart.json
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,7 @@
"end": "\\}",
"patterns": [
{
"include": "#constants-and-special-vars",
"name": "variable.parameter.dart"
"include": "#constants-and-special-vars"
},
{
"include": "#strings"
Expand Down

0 comments on commit 54e6ada

Please sign in to comment.