mirror of
https://github.com/ilyakooo0/helix.git
synced 2024-09-20 12:37:32 +03:00
Add indents.toml to perl (#1280)
This commit is contained in:
parent
0c447151cf
commit
a8060c06d1
@ -23,7 +23,7 @@
|
|||||||
| nix | ✓ | | ✓ | `rnix-lsp` |
|
| nix | ✓ | | ✓ | `rnix-lsp` |
|
||||||
| ocaml | ✓ | | ✓ | |
|
| ocaml | ✓ | | ✓ | |
|
||||||
| ocaml-interface | ✓ | | | |
|
| ocaml-interface | ✓ | | | |
|
||||||
| perl | ✓ | ✓ | | |
|
| perl | ✓ | ✓ | ✓ | |
|
||||||
| php | ✓ | | ✓ | |
|
| php | ✓ | | ✓ | |
|
||||||
| prolog | | | | `swipl` |
|
| prolog | | | | `swipl` |
|
||||||
| protobuf | ✓ | | ✓ | |
|
| protobuf | ✓ | | ✓ | |
|
||||||
|
17
runtime/queries/perl/indents.toml
Normal file
17
runtime/queries/perl/indents.toml
Normal file
@ -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 = [
|
||||||
|
"}"
|
||||||
|
]
|
Loading…
Reference in New Issue
Block a user