Skip to content

Commit

Permalink
chore: autoformat with dprint
Browse files Browse the repository at this point in the history
  • Loading branch information
boltlessengineer authored and github-actions[bot] committed Aug 29, 2024
1 parent ce231f8 commit 2706e86
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,9 +198,11 @@ module.exports = grammar({
token(prec(1, "}}")),
),

pre_request_script: ($) => seq("<", WS, choice($.script, $.path), token(repeat1(NL))),
pre_request_script: ($) =>
seq("<", WS, choice($.script, $.path), token(repeat1(NL))),
res_handler_script: ($) =>
seq(token(prec(3, ">")), WS, choice($.script, $.path), token(repeat1(NL))),
seq(token(prec(3, ">")), WS, choice($.script, $.path),
token(repeat1(NL))),
script: (_) =>
seq(
token(prec(1, "{%")),
Expand Down Expand Up @@ -232,7 +234,8 @@ module.exports = grammar({
repeat1(token(prec(2, LINE_TAIL))),
),

graphql_body: ($) => prec.right(seq($.graphql_data, optional($.json_body))),
graphql_body: ($) =>
prec.right(seq($.graphql_data, optional($.json_body))),
graphql_data: (_) =>
seq(
token(
Expand Down

0 comments on commit 2706e86

Please sign in to comment.