on master help sign in
feat: add indenting for protobuf
commit2f42b2338ea617729d99578f07cc317b2d9cb0fe authorYusuf Bera Ertan <y.bera003.06@protonmail.com> dateWed 18 Aug 2021, 14:31 (5 years ago) parent4b45f27
2 files changed+13−1
helix-syntax/languages/tree-sitter-protobuf+1−1 runtime/queries/protobuf/indents.toml+12
helix-syntax/languages/tree-sitter-protobuf+1−1

Submodule changed.

runtime/queries/protobuf/indents.tomlnew file+12
@@ -0,0 +1,12 @@
1+indent = [
2+ "messageBody",
3+ "enumBody",
4+ "oneofBody",
5+ "serviceBody",
6+ "rpcBody",
7+ "msgLit",
8+]
9+
10+outdent = [
11+ "}",
12+]