diff options
author | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2004-10-07 21:02:47 +0000 |
commit | 3fdfa4a9a52ab3d1a790262ee872a49853ad4626 (patch) | |
tree | 76f57a06a5f3b9e0abc15446b38722658fde7e1e /runtime/indent/eiffel.vim | |
parent | e5f258eb4c4b87ea1d6f61c1a0a9deecbb5d9726 (diff) | |
download | vim-git-3fdfa4a9a52ab3d1a790262ee872a49853ad4626.tar.gz |
updated for version 7.0017v7.0017
Diffstat (limited to 'runtime/indent/eiffel.vim')
-rw-r--r-- | runtime/indent/eiffel.vim | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/runtime/indent/eiffel.vim b/runtime/indent/eiffel.vim index ac31d1043..22b932a67 100644 --- a/runtime/indent/eiffel.vim +++ b/runtime/indent/eiffel.vim @@ -1,9 +1,11 @@ " Vim indent file " Language: Eiffel -" Maintainer: David Clarke <gadicath@dishevelled.net> +" Maintainer: Jocelyn Fiat <eiffel@djoce.net> +" Previous-Maintainer: David Clarke <gadicath@dishevelled.net> " $Date$ " $Revision$ -" URL: http://gadicath.webhop.net/other/eiffel.vim +" URL: http://www.djoce.net/page/vim/ +" Last Change: 2004 Sep 14 " Only load this indent file when no other was loaded. if exists("b:did_indent") @@ -20,8 +22,6 @@ setlocal comments=:-- setlocal indentkeys+==end,=else,=ensure,=require,=check,=loop,=until setlocal indentkeys+==creation,=feature,=inherit,=class,=is,=redefine,=rename,=variant setlocal indentkeys+==invariant,=do,=local,=export -setlocal sw=3 -setlocal tw=78 " Define some stuff " keywords grouped by indenting @@ -96,7 +96,7 @@ function GetEiffelIndent() " set indent of zero end statements that are at an indent of 3, this should " only ever be the class's end. - if getline(v:lnum) =~ '^\s*end\>' && ind == 3 + if getline(v:lnum) =~ '^\s*end\>' && ind == &sw let ind = 0 endif |