aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c/indents.toml
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/c/indents.toml')
-rw-r--r--runtime/queries/c/indents.toml16
1 files changed, 16 insertions, 0 deletions
diff --git a/runtime/queries/c/indents.toml b/runtime/queries/c/indents.toml
new file mode 100644
index 00000000..f4076e17
--- /dev/null
+++ b/runtime/queries/c/indents.toml
@@ -0,0 +1,16 @@
+indent = [
+ "compound_statement",
+ "field_declaration_list",
+ "enumerator_list",
+ "parameter_list",
+ "init_declarator",
+ "case_statement",
+ "condition_clause",
+ "expression_statement",
+]
+
+outdent = [
+ "case",
+ "}",
+ "]",
+]