aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/perl
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/perl')
-rw-r--r--runtime/queries/perl/indents.scm15
-rw-r--r--runtime/queries/perl/indents.toml17
2 files changed, 15 insertions, 17 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
diff --git a/runtime/queries/perl/indents.toml b/runtime/queries/perl/indents.toml
deleted file mode 100644
index 365e0663..00000000
--- a/runtime/queries/perl/indents.toml
+++ /dev/null
@@ -1,17 +0,0 @@
-indent = [
- "function",
- "identifier",
- "method_invocation",
- "if_statement",
- "unless_statement",
- "if_simple_statement",
- "unless_simple_statement",
- "variable_declaration",
- "block",
- "list_item",
- "word_list_qw"
-]
-
-outdent = [
- "}"
-]