comparison runtime/indent/tcsh.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 e170173ecb68
children
comparison
equal deleted inserted replaced
47:6c0584ec21b1 48:67300faee616
1 " Vim indent file 1 " Vim indent file
2 " Language: C-shell (tcsh) 2 " Language: C-shell (tcsh)
3 " Maintainer: Gautam Iyer <gautam@math.uchicago.edu> 3 " Maintainer: GI <a@b.c>, where a='gi1242+vim', b='gmail', c='com'
4 " Last Modified: Sat 16 Jun 2007 04:27:45 PM PDT 4 " Last Modified: Sat 10 Dec 2011 09:23:00 AM EST
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
15 15
16 " Only define the function once. 16 " Only define the function once.
17 if exists("*TcshGetIndent") 17 if exists("*TcshGetIndent")
18 finish 18 finish
19 endif 19 endif
20
21 set cpoptions-=C
22 20
23 function TcshGetIndent() 21 function TcshGetIndent()
24 " Find a non-blank line above the current line. 22 " Find a non-blank line above the current line.
25 let lnum = prevnonblank(v:lnum - 1) 23 let lnum = prevnonblank(v:lnum - 1)
26 24