use $ instead of sym

This commit is contained in:
danhanson committed 2026-09-14 16:13:57 -05:00
1 parent 70543ffe3b
commit 5f66027dcf
1 file changed
+4 -4
+4 -4
View File
@@ -1172,20 +1172,20 @@ const django = grammar({
prec.dynamic(
-1,
seq(
sym("simpleTagOpen"),
$.simpleTagOpen,
field("tag_name", choice(...NAMES_INSIDE_A_TAG_GROUP)),
repeat(seq(SEP, /[^\s%]+/)),
$._group_held,
sym("simpleTagClose"),
$.simpleTagClose,
),
),
prec.dynamic(
-2,
seq(
sym("simpleTagOpen"),
$.simpleTagOpen,
field("tag_name", choice(...NAMES_INSIDE_A_TAG_GROUP)),
repeat(seq(SEP, /[^\s%]+/)),
sym("simpleTagClose"),
$.simpleTagClose,
),
),
),