aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/perl/indents.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/perl/indents.scm')
-rw-r--r--runtime/queries/perl/indents.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/runtime/queries/perl/indents.scm b/runtime/queries/perl/indents.scm
new file mode 100644
index 00000000..5ae34f5e
--- /dev/null
+++ b/runtime/queries/perl/indents.scm
@@ -0,0 +1,15 @@
+[
+ (function)
+ (identifier)
+ (method_invocation)
+ (if_statement)
+ (unless_statement)
+ (if_simple_statement)
+ (unless_simple_statement)
+ (variable_declaration)
+ (block)
+ (list_item)
+ (word_list_qw)
+] @indent
+
+"}" @outdent