Skip to content

Commit

Permalink
Allow trailing commas in inline maps
Browse files Browse the repository at this point in the history
  • Loading branch information
irh committed Jun 6, 2024
1 parent eb8d866 commit d410987
Show file tree
Hide file tree
Showing 4 changed files with 192,563 additions and 191,432 deletions.
3 changes: 2 additions & 1 deletion grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,8 @@ module.exports = grammar({
repeat(seq(
',',
$.entry_inline,
))
)),
optional(','),
)),
'}'
),
Expand Down
12 changes: 12 additions & 0 deletions src/grammar.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d410987

Please sign in to comment.