on master help sign in
Add indents.toml to perl (#1280)
commita8060c06d14935d18e27fcb64b8a58ae6dc5eaf3 authorath3 <45574139+ath3@users.noreply.github.com> dateFri 17 Dec 2021, 01:56 (5 years ago) parent0c44715
2 files changed+18−1
book/src/generated/lang-support.md+1−1 runtime/queries/perl/indents.toml+17
book/src/generated/lang-support.md+1−1
@@ -23,7 +23,7 @@
2323| nix | ✓ | | ✓ | `rnix-lsp` |
2424| ocaml | ✓ | | ✓ | |
2525| ocaml-interface | ✓ | | | |
26−| perl | ✓ | ✓ | | |
26+| perl | ✓ | ✓ | ✓ | |
2727| php | ✓ | | ✓ | |
2828| prolog | | | | `swipl` |
2929| 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+]