Skip to content

Commit da73637

Browse files
authored
chore: Add brackers, indents, outline to tree-sitter LS config (#250)
Add `brackers`, `indents`, `outline` to tree-sitter LS config
1 parent ef4a738 commit da73637

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

.tsqueryrc.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"yaml-erb": "embedded_template"
1010
},
1111
"valid_captures": {
12+
"brackets": {
13+
"open": "Captures opening brackets, braces, and quotes.",
14+
"close": "Captures closing brackets, braces, and quotes."
15+
},
1216
"highlights": {
1317
"attribute": "An attribute",
1418
"boolean": "A boolean value",
@@ -59,6 +63,17 @@
5963
"variable.special": "A special variable",
6064
"variant": "A variant"
6165
},
66+
"indents": {
67+
"end": "Captures closing brackets and braces.",
68+
"indent": "Captures entire arrays and objects for indentation."
69+
},
70+
"outline": {
71+
"name": "Captures the content of object keys.",
72+
"item": "Captures the entire key-value pair.",
73+
"context": "Captures elements that provide context for the outline item.",
74+
"context.extra": "Captures additional contextual information for the outline item.",
75+
"annotation": "Captures nodes that annotate outline item (doc comments, attributes, decorators)."
76+
},
6277
"runnables": {
6378
"name": "Captures the \"scripts\" key",
6479
"run": "Captures the script name",

0 commit comments

Comments
 (0)