From 2f42b2338ea617729d99578f07cc317b2d9cb0fe Mon Sep 17 00:00:00 2001
From: Yusuf Bera Ertan <y.bera003.06@protonmail.com>
Date: Wed, 18 Aug 2021 14:31:21 +0300
Subject: [PATCH] feat: add indenting for protobuf

---
 helix-syntax/languages/tree-sitter-protobuf |  2 +-
 runtime/queries/protobuf/indents.toml       | 12 ++++++++++++
 2 files changed, 13 insertions(+), 1 deletion(-)
 create mode 100644 runtime/queries/protobuf/indents.toml

diff --git a/helix-syntax/languages/tree-sitter-protobuf b/helix-syntax/languages/tree-sitter-protobuf
index a835f256..3eb3da67 160000
--- a/helix-syntax/languages/tree-sitter-protobuf
+++ b/helix-syntax/languages/tree-sitter-protobuf
@@ -1 +1 @@
-Subproject commit a835f2568a8a8cbb7d9c02f2e8bcf98efa745d4e
+Subproject commit 3eb3da67280d8fc32d644c484d05a6ae7f7e4b8f
diff --git a/runtime/queries/protobuf/indents.toml b/runtime/queries/protobuf/indents.toml
new file mode 100644
index 00000000..e655f8db
--- /dev/null
+++ b/runtime/queries/protobuf/indents.toml
@@ -0,0 +1,12 @@
+indent = [
+  "messageBody",
+  "enumBody",
+  "oneofBody",
+  "serviceBody",
+  "rpcBody",
+  "msgLit",
+]
+
+outdent = [
+  "}",
+]