aboutsummaryrefslogblamecommitdiff
path: root/runtime/queries/go/indents.toml
blob: 17d73bedf4610e7a9123a2fc2caf35aaa30c6bc8 (plain) (tree)
1
2
3
4
5
6
7
8
9


                       
                     
              

                                 



                      
                       
                  
          






           
indent = [
  "import_declaration",
  "const_declaration",
  "var_declaration",
  "type_declaration",
  "type_spec",
  # simply block should be enough
  # "function_declaration",
  # "method_declaration",
  "composite_literal",
  "func_literal",
  "literal_value",
  "expression_case",
  "default_case",
  "type_case",
  "communication_case",
  "argument_list",
  "block",
]

outdent = [
 "case",
 "}",
 "]",
 ")"
]