summaryrefslogtreecommitdiff
path: root/vendor/queries/c_sharp/indents.scm
blob: bf875d4b03d9de914107ecf7a758d167085f963c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; Vendored from helix (https://github.com/helix-editor/helix) at 278b24389:
; runtime/queries/c-sharp/indents.scm.
; Licensed under the Mozilla Public License 2.0 (vendor/queries/helix.LICENSE,
; https://mozilla.org/MPL/2.0/).

[
  (declaration_list)
  (block)
  (enum_member_declaration_list)
  (accessor_list)
  (switch_body)
  (switch_section)
  (initializer_expression)
] @indent

[
  "}"
  ")"
  "]"
] @outdent