diff runtime/indent/rpl.vim @ 233:fca8a9b65afa

updated for version 7.0065
author vimboss
date Mon, 28 Mar 2005 20:58:01 +0000
parents 3fc0f57ecb91
children 63b0b7b79b25
line wrap: on
line diff
--- a/runtime/indent/rpl.vim
+++ b/runtime/indent/rpl.vim
@@ -1,7 +1,7 @@
 " Vim indent file
 " Language:	RPL/2
 " Version:	0.2
-" Last Change:	2002 August 16
+" Last Change:	2005 Mar 28
 " Maintainer:	BERTRAND Joël <rpl2@free.fr>
 
 " Only load this indent file when no other was loaded.
@@ -10,6 +10,7 @@ if exists("b:did_indent")
 endif
 let b:did_indent = 1
 
+setlocal autoindent
 setlocal indentkeys+==~end,=~case,=~if,=~then,=~else,=~do,=~until,=~while,=~repeat,=~select,=~default,=~for,=~start,=~next,=~step,<<>,<>>
 
 " Define the appropriate indent function but only once
@@ -18,6 +19,8 @@ if exists("*RplGetFreeIndent")
   finish
 endif
 
+let b:undo_indent = "set ai< indentkeys< indentexpr<"
+
 function RplGetIndent(lnum)
   let ind = indent(a:lnum)
   let prevline=getline(a:lnum)