From 656ac242338d3d78a5e64d2b3b7f06892aeabfea Mon Sep 17 00:00:00 2001 From: zhaown <51357674+chaozwn@users.noreply.github.com> Date: Thu, 11 Jul 2024 00:36:01 +0800 Subject: [PATCH] feat(goctl): add indents --- queries/goctl/indents.scm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 queries/goctl/indents.scm diff --git a/queries/goctl/indents.scm b/queries/goctl/indents.scm new file mode 100644 index 000000000..ffa126905 --- /dev/null +++ b/queries/goctl/indents.scm @@ -0,0 +1,15 @@ +[ + (importGroup) + (typeGroupSpec) + (structType) + (infoStatement) + (serviceServerSpec) + (serviceSpec) +] @indent.begin + +[ + ")" + "}" +] @indent.branch @indent.end + +(comment) @indent.ignore