aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/fish/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/fish/indents.scm')
-rw-r--r--runtime/queries/fish/indents.scm12
1 files changed, 12 insertions, 0 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