diff --git a/topiary-queries/queries/pact.scm b/topiary-queries/queries/pact.scm index 29aba2b3..4a1b0832 100644 --- a/topiary-queries/queries/pact.scm +++ b/topiary-queries/queries/pact.scm @@ -1 +1,21 @@ -; TODO +(symbol) @leaf + +[ + (symbol) +] @append_space @prepend_space + +[ + (list) +] @allow_blank_line_before + +(expression) @append_empty_softline + +(list + . + "(" @append_antispace + . + (expression) @append_empty_softline @append_indent_start + + ")" @prepend_antispace @prepend_empty_softline @prepend_indent_end + . +)