diff options
author | dkearns <dougkearns@gmail.com> | 2023-09-09 03:16:03 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 19:16:03 +0200 |
commit | 4e554d282c50e428932df5fff9917f8a836f7782 (patch) | |
tree | f602345ecbfadf1fdc891bcfc760755c7652d3ec /runtime/indent/perl.vim | |
parent | cc0bcf4c9f4133750f5ee99c685ba995a1b840fd (diff) |
runtime(perl): Update ftplugin and indent files (#13052)
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/indent/perl.vim')
-rw-r--r-- | runtime/indent/perl.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/indent/perl.vim b/runtime/indent/perl.vim index 4c91fa1b33..a97c34da53 100644 --- a/runtime/indent/perl.vim +++ b/runtime/indent/perl.vim @@ -4,7 +4,7 @@ " Homepage: https://github.com/vim-perl/vim-perl " Bugs/requests: https://github.com/vim-perl/vim-perl/issues " License: Vim License (see :help license) -" Last Change: 2021 Sep 24 +" Last Change: 2022 Jun 14 " Suggestions and improvements by : " Aaron J. Sherman (use syntax for hints) @@ -133,6 +133,7 @@ function! GetPerlIndent() \ || synid == "perlHereDoc" \ || synid == "perlBraces" \ || synid == "perlStatementIndirObj" + \ || synid == "perlSubDeclaration" \ || synid =~ "^perlFiledescStatement" \ || synid =~ '^perl\(Sub\|Block\|Package\)Fold' let brace = strpart(line, bracepos, 1) |