diff options
author | Yusuf Bera Ertan | 2021-08-18 11:31:21 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-19 00:54:14 +0000 |
commit | 2f42b2338ea617729d99578f07cc317b2d9cb0fe (patch) | |
tree | fe38d46eda3ba67c7de5dd22d3c1097e936b3d30 | |
parent | 4b45f27a13500bd5f85d11e2e3bcda49bfdd065c (diff) |
feat: add indenting for protobuf
m--------- | helix-syntax/languages/tree-sitter-protobuf | 0 | ||||
-rw-r--r-- | runtime/queries/protobuf/indents.toml | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/helix-syntax/languages/tree-sitter-protobuf b/helix-syntax/languages/tree-sitter-protobuf -Subproject a835f2568a8a8cbb7d9c02f2e8bcf98efa745d4 +Subproject 3eb3da67280d8fc32d644c484d05a6ae7f7e4b8 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 = [ + "}", +] |