diff options
Diffstat (limited to 'runtime/queries/cpp')
-rw-r--r-- | runtime/queries/cpp/indents.scm | 3 | ||||
-rw-r--r-- | runtime/queries/cpp/indents.toml | 17 |
2 files changed, 3 insertions, 17 deletions
diff --git a/runtime/queries/cpp/indents.scm b/runtime/queries/cpp/indents.scm new file mode 100644 index 00000000..36876f94 --- /dev/null +++ b/runtime/queries/cpp/indents.scm @@ -0,0 +1,3 @@ +; inherits: c + +(access_specifier) @outdent diff --git a/runtime/queries/cpp/indents.toml b/runtime/queries/cpp/indents.toml deleted file mode 100644 index 0ca2ed8b..00000000 --- a/runtime/queries/cpp/indents.toml +++ /dev/null @@ -1,17 +0,0 @@ -indent = [ - "compound_statement", - "field_declaration_list", - "enumerator_list", - "parameter_list", - "init_declarator", - "case_statement", - "condition_clause", - "expression_statement", -] - -outdent = [ - "case", - "access_specifier", - "}", - "]", -] |