aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/tcl/indents.scm
blob: bc035537295e76c7525349a86157c20ac2b51262 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
[
  (braced_word_simple)
  (namespace)
  (command)
  (conditional)
  (foreach)
  (while)
  (try)
  (procedure)
  (command_substitution)
] @indent.begin

(quoted_word) @indent.align

([
  (expr)
  (arguments)
] @indent.align
  (#set! indent.open_delimiter "{")
  (#set! indent.close_delimiter "}"))

[
  "}"
  "]"
] @indent.branch @indent.end