aboutsummaryrefslogtreecommitdiff
path: root/runtime/indent/perl.vim
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/indent/perl.vim')
-rw-r--r--runtime/indent/perl.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/runtime/indent/perl.vim b/runtime/indent/perl.vim
index 5fc8b7008a..4c91fa1b33 100644
--- a/runtime/indent/perl.vim
+++ b/runtime/indent/perl.vim
@@ -1,9 +1,10 @@
" Vim indent file
-" Language: Perl 5
+" Language: Perl
" Maintainer: vim-perl <vim-perl@googlegroups.com>
" Homepage: https://github.com/vim-perl/vim-perl
" Bugs/requests: https://github.com/vim-perl/vim-perl/issues
-" Last Change: 2020 Apr 15
+" License: Vim License (see :help license)
+" Last Change: 2021 Sep 24
" Suggestions and improvements by :
" Aaron J. Sherman (use syntax for hints)
@@ -35,6 +36,8 @@ if !b:indent_use_syntax
setlocal indentkeys+=0=EO
endif
+let b:undo_indent = "setl inde< indk<"
+
let s:cpo_save = &cpo
set cpo-=C