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