diff options
author | Mateusz S. Szczygieł | 2021-11-08 15:48:00 +0000 |
---|---|---|
committer | GitHub | 2021-11-08 15:48:00 +0000 |
commit | 3f0345ff5814cea1d733ec2c5d846db66de29af6 (patch) | |
tree | 6b09002e24f288ff027e172af25597ed1e6d598f /runtime/queries/glsl/indents.toml | |
parent | 549cdee56159bed4266990ae66591dd6299293d4 (diff) |
glsl support (#993)
* add glsl language support
* glsl: use indents.toml file
Diffstat (limited to 'runtime/queries/glsl/indents.toml')
-rw-r--r-- | runtime/queries/glsl/indents.toml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/runtime/queries/glsl/indents.toml b/runtime/queries/glsl/indents.toml new file mode 100644 index 00000000..a7fd499a --- /dev/null +++ b/runtime/queries/glsl/indents.toml @@ -0,0 +1,19 @@ +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", + "{", + "}" +] |