diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:40:44 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-18 21:40:44 +0000 |
commit | b635633989f0ff5a5dbb564d65d332741f0e3e8d (patch) | |
tree | c7c744c865d0004b0ed58a2f573d8cbbce7ab7b8 /runtime/indent | |
parent | e759a7aa9a514626cd0373d1bd4e92777b1730c5 (diff) | |
download | vim-git-b635633989f0ff5a5dbb564d65d332741f0e3e8d.tar.gz |
updated for version 7.0109
Diffstat (limited to 'runtime/indent')
-rw-r--r-- | runtime/indent/perl.vim | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/indent/perl.vim b/runtime/indent/perl.vim index 1af058043..56cb2ab1f 100644 --- a/runtime/indent/perl.vim +++ b/runtime/indent/perl.vim @@ -2,7 +2,7 @@ " Language: Perl " Author: Rafael Garcia-Suarez <rgarciasuarez@free.fr> " URL: http://rgarciasuarez.free.fr/vim/indent/perl.vim -" Last Change: 2003 Apr 25 +" Last Change: 2005 Jul 15 " Suggestions and improvements by : " Aaron J. Sherman (use syntax for hints) @@ -28,9 +28,6 @@ let b:did_indent = 1 " Is syntax highlighting active ? let b:indent_use_syntax = has("syntax") && &syntax == "perl" -let s:cpo_save = &cpo -set cpo-=C - setlocal indentexpr=GetPerlIndent() setlocal indentkeys+=0=,0),0=or,0=and if !b:indent_use_syntax @@ -42,6 +39,9 @@ if exists("*GetPerlIndent") finish endif +let s:cpo_save = &cpo +set cpo-=C + function GetPerlIndent() " Get the line to be indented |