comparison runtime/indent/idlang.vim @ 48:67300faee616 v7-3-618

v7-3-618
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Wed, 01 Aug 2012 18:08:28 +0900
parents 76efa0be13f1
children
comparison
equal deleted inserted replaced
47:6c0584ec21b1 48:67300faee616
1 " IDL (Interactive Data Language) indent file. 1 " IDL (Interactive Data Language) indent file.
2 " Language: IDL (ft=idlang) 2 " Language: IDL (ft=idlang)
3 " Last change: 2002 Sep 23 3 " Last change: 2012 May 18
4 " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com> 4 " Maintainer: Aleksandar Jelenak <ajelenak AT yahoo.com>
5 5
6 " Only load this indent file when no other was loaded. 6 " Only load this indent file when no other was loaded.
7 if exists("b:did_indent") 7 if exists("b:did_indent")
8 finish 8 finish
9 endif 9 endif
10 let b:did_indent = 1 10 let b:did_indent = 1
11 11
12 setlocal indentkeys=o,O,0=endif,0=ENDIF,0=endelse,0=ENDELSE,0=endwhile, 12 setlocal indentkeys=o,O,0=endif,0=ENDIF,0=endelse,0=ENDELSE,0=endwhile,0=ENDWHILE,0=endfor,0=ENDFOR,0=endrep,0=ENDREP
13 \0=ENDWHILE,0=endfor,0=ENDFOR,0=endrep,0=ENDREP
14 13
15 setlocal indentexpr=GetIdlangIndent(v:lnum) 14 setlocal indentexpr=GetIdlangIndent(v:lnum)
16 15
17 " Only define the function once. 16 " Only define the function once.
18 if exists("*GetIdlangIndent") 17 if exists("*GetIdlangIndent")