Skip to content

Commit

Permalink
Fix highlighting bug
Browse files Browse the repository at this point in the history
Thank you so much to @endofunky!!

Co-authored-by: @endofunky
  • Loading branch information
giacomocavalieri committed Oct 28, 2024
1 parent b60ca19 commit 50dd306
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions grammar.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ module.exports = grammar({
[$.source_file],
[$._constant_value, $._case_clause_guard_unit],
[$.integer],
[$.pipeline_echo, $.echo],
[$.echo],
],
rules: {
Expand Down Expand Up @@ -378,7 +377,7 @@ module.exports = grammar({
)
)
),
pipeline_echo: (_$) => " echo",
pipeline_echo: (_$) => prec.left("echo"),
echo: ($) => seq("echo", $._expression),
tuple: ($) => seq("#", "(", optional(series_of($._expression, ",")), ")"),
list: ($) =>
Expand Down

0 comments on commit 50dd306

Please sign in to comment.