0
0
mirror of https://github.com/vim/vim.git synced 2025-10-17 07:44:28 -04:00

updated for version 7.0109

This commit is contained in:
Bram Moolenaar
2005-07-18 21:40:44 +00:00
parent e759a7aa9a
commit b635633989
11 changed files with 91 additions and 70 deletions

View File

@@ -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