Skip to content

Commit

Permalink
feat: add indenting for protobuf
Browse files Browse the repository at this point in the history
  • Loading branch information
yusdacra authored and archseer committed Aug 19, 2021
1 parent 4b45f27 commit 2f42b23
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion helix-syntax/languages/tree-sitter-protobuf
12 changes: 12 additions & 0 deletions runtime/queries/protobuf/indents.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
indent = [
"messageBody",
"enumBody",
"oneofBody",
"serviceBody",
"rpcBody",
"msgLit",
]

outdent = [
"}",
]

0 comments on commit 2f42b23

Please sign in to comment.