Mercurial > hg > RemoteEditor > vim7
comparison runtime/indent/tcsh.vim @ 34:e170173ecb68 current-release
before ack base protocol.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 26 Nov 2008 15:02:10 +0900 |
parents | 76efa0be13f1 |
children | 67300faee616 |
comparison
equal
deleted
inserted
replaced
33:7d0d8b831f5a | 34:e170173ecb68 |
---|---|
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: Gautam Iyer <gautam@math.uchicago.edu> |
4 " Last Modified: Wed 04 Feb 2004 04:36:07 PM CST | 4 " Last Modified: Sat 16 Jun 2007 04:27:45 PM PDT |
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 | 10 |
11 let b:did_indent = 1 | 11 let b:did_indent = 1 |
12 | 12 |
13 setlocal indentexpr=TcshGetIndent() | 13 setlocal indentexpr=TcshGetIndent() |
14 setlocal indentkeys+=e,0=end,0=endsw,*<return> indentkeys-=0{,0},0),:,0# | 14 setlocal indentkeys+=e,0=end,0=endsw indentkeys-=0{,0},0),:,0# |
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 |