aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorath32021-12-17 00:56:07 +0000
committerGitHub2021-12-17 00:56:07 +0000
commita8060c06d14935d18e27fcb64b8a58ae6dc5eaf3 (patch)
tree1b8c5b39c1f0efe3e31465389cb3b49ff4718514 /runtime
parent0c447151cf1af82be2e851a56430699f5fae549b (diff)
Add indents.toml to perl (#1280)
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/perl/indents.toml17
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/queries/perl/indents.toml b/runtime/queries/perl/indents.toml
new file mode 100644
index 00000000..365e0663
--- /dev/null
+++ b/runtime/queries/perl/indents.toml
@@ -0,0 +1,17 @@
+indent = [
+ "function",
+ "identifier",
+ "method_invocation",
+ "if_statement",
+ "unless_statement",
+ "if_simple_statement",
+ "unless_simple_statement",
+ "variable_declaration",
+ "block",
+ "list_item",
+ "word_list_qw"
+]
+
+outdent = [
+ "}"
+]