summaryrefslogtreecommitdiff
path: root/runtime/queries/svelte
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/svelte')
-rw-r--r--runtime/queries/svelte/indents.scm17
-rw-r--r--runtime/queries/svelte/indents.toml18
2 files changed, 17 insertions, 18 deletions
diff --git a/runtime/queries/svelte/indents.scm b/runtime/queries/svelte/indents.scm
new file mode 100644
index 00000000..02aaaa58
--- /dev/null
+++ b/runtime/queries/svelte/indents.scm
@@ -0,0 +1,17 @@
+[
+ (element)
+ (if_statement)
+ (each_statement)
+ (await_statement)
+] @indent
+
+[
+ (end_tag)
+ (else_statement)
+ (if_end_expr)
+ (each_end_expr)
+ (await_end_expr)
+ ">"
+ "/>"
+] @outdent
+
diff --git a/runtime/queries/svelte/indents.toml b/runtime/queries/svelte/indents.toml
deleted file mode 100644
index 693db8e3..00000000
--- a/runtime/queries/svelte/indents.toml
+++ /dev/null
@@ -1,18 +0,0 @@
-indent = [
- "element"
- "if_statement"
- "each_statement"
- "await_statement"
-]
-
-outdent = [
- "end_tag"
- "else_statement"
- "if_end_expr"
- "each_end_expr"
- "await_end_expr"
- ">"
- "/>"
-]
-
-ignore = "comment"