on master help sign in
Add indents.toml to perl (#1280)
a8060c0ath3
book/src/generated/lang-support.md+1−1
@@ -23,7 +23,7 @@
23| nix | ✓ | | ✓ | `rnix-lsp` |
23| nix | ✓ | | ✓ | `rnix-lsp` |
24| ocaml | ✓ | | ✓ | |
24| ocaml | ✓ | | ✓ | |
25| ocaml-interface | ✓ | | | |
25| ocaml-interface | ✓ | | | |
26−| perl | ✓ | ✓ | | |
26+| perl | ✓ | ✓ | ✓ | |
27| php | ✓ | | ✓ | |
27| php | ✓ | | ✓ | |
28| prolog | | | | `swipl` |
28| prolog | | | | `swipl` |
29| protobuf | ✓ | | ✓ | |
29| protobuf | ✓ | | ✓ | |
runtime/queries/perl/indents.tomlnew file+17
@@ -0,0 +1,17 @@
1+indent = [
2+ "function",
3+ "identifier",
4+ "method_invocation",
5+ "if_statement",
6+ "unless_statement",
7+ "if_simple_statement",
8+ "unless_simple_statement",
9+ "variable_declaration",
10+ "block",
11+ "list_item",
12+ "word_list_qw"
13+]
14+
15+outdent = [
16+ "}"
17+]