diff options
Diffstat (limited to 'runtime/queries/glsl')
-rw-r--r-- | runtime/queries/glsl/indents.scm | 19 | ||||
-rw-r--r-- | runtime/queries/glsl/indents.toml | 19 |
2 files changed, 19 insertions, 19 deletions
diff --git a/runtime/queries/glsl/indents.scm b/runtime/queries/glsl/indents.scm new file mode 100644 index 00000000..a8b55a42 --- /dev/null +++ b/runtime/queries/glsl/indents.scm @@ -0,0 +1,19 @@ +[ + (init_declarator) + (compound_statement) + (preproc_arg) + (field_declaration_list) + (case_statement) + (conditional_expression) + (enumerator_list) + (struct_specifier) + (compound_literal_expression) +] @indent + +[ + "#define" + "#ifdef" + "#endif" + "{" + "}" +] @outdent diff --git a/runtime/queries/glsl/indents.toml b/runtime/queries/glsl/indents.toml deleted file mode 100644 index a7fd499a..00000000 --- a/runtime/queries/glsl/indents.toml +++ /dev/null @@ -1,19 +0,0 @@ -indent = [ - "init_declarator", - "compound_statement", - "preproc_arg", - "field_declaration_list", - "case_statement", - "conditional_expression", - "enumerator_list", - "struct_specifier", - "compound_literal_expression" -] - -outdent = [ - "#define", - "#ifdef", - "#endif", - "{", - "}" -] |