Fix highlighting bug

Thank you so much to @endofunky!!

Co-authored-by: @endofunky
pull/844/head
Giacomo Cavalieri 2024-10-28 22:50:02 +07:00 committed by Louis Pilfold
parent 8db8a0ba8b
commit 6b2707d97c
1 changed files with 1 additions and 2 deletions

@ -21,7 +21,6 @@ module.exports = grammar({
[$.source_file],
[$._constant_value, $._case_clause_guard_unit],
[$.integer],
[$.pipeline_echo, $.echo],
[$.echo],
],
rules: {
@ -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: ($) =>