aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/jsx/indents.scm8
-rw-r--r--runtime/queries/tsx/indents.scm2
2 files changed, 9 insertions, 1 deletions
diff --git a/runtime/queries/jsx/indents.scm b/runtime/queries/jsx/indents.scm
index 04328f09..6cb82545 100644
--- a/runtime/queries/jsx/indents.scm
+++ b/runtime/queries/jsx/indents.scm
@@ -1 +1,9 @@
+[
+ (jsx_fragment)
+ (jsx_element)
+ (jsx_self_closing_element)
+] @indent
+
+(parenthesized_expression) @indent
+
; inherits: ecma
diff --git a/runtime/queries/tsx/indents.scm b/runtime/queries/tsx/indents.scm
index 1b61e36d..07391231 100644
--- a/runtime/queries/tsx/indents.scm
+++ b/runtime/queries/tsx/indents.scm
@@ -1 +1 @@
-; inherits: typescript
+; inherits: typescript,jsx