summaryrefslogtreecommitdiff
path: root/runtime/queries/fish
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/fish')
-rw-r--r--runtime/queries/fish/indents.scm12
-rw-r--r--runtime/queries/fish/indents.toml12
2 files changed, 12 insertions, 12 deletions
diff --git a/runtime/queries/fish/indents.scm b/runtime/queries/fish/indents.scm
new file mode 100644
index 00000000..ba7c65ea
--- /dev/null
+++ b/runtime/queries/fish/indents.scm
@@ -0,0 +1,12 @@
+[
+ (function_definition)
+ (while_statement)
+ (for_statement)
+ (if_statement)
+ (begin_statement)
+ (switch_statement)
+] @indent
+
+[
+ "end"
+] @outdent
diff --git a/runtime/queries/fish/indents.toml b/runtime/queries/fish/indents.toml
deleted file mode 100644
index 6f1e563a..00000000
--- a/runtime/queries/fish/indents.toml
+++ /dev/null
@@ -1,12 +0,0 @@
-indent = [
- "function_definition",
- "while_statement",
- "for_statement",
- "if_statement",
- "begin_statement",
- "switch_statement",
-]
-
-outdent = [
- "end"
-]