aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/svelte
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/svelte')
-rw-r--r--runtime/queries/svelte/indents.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/runtime/queries/svelte/indents.scm b/runtime/queries/svelte/indents.scm
new file mode 100644
index 00000000..d0408d61
--- /dev/null
+++ b/runtime/queries/svelte/indents.scm
@@ -0,0 +1,18 @@
+[
+ (element)
+ (if_statement)
+ (each_statement)
+ (await_statement)
+ (script_element)
+ (style_element)
+] @indent
+
+[
+ (end_tag)
+ (else_statement)
+ (if_end_expr)
+ (each_end_expr)
+ (await_end_expr)
+ ">"
+ "/>"
+] @outdent \ No newline at end of file