Mercurial > vim
comparison runtime/indent/config.vim @ 375:f14cbd913415 v7.0097
updated for version 7.0097
author | vimboss |
---|---|
date | Wed, 29 Jun 2005 22:40:58 +0000 |
parents | 3fc0f57ecb91 |
children | 4fe8e1a7758e |
comparison
equal
deleted
inserted
replaced
374:575dacb554d8 | 375:f14cbd913415 |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: Autoconf configure.{ac,in} file | 2 " Language: Autoconf configure.{ac,in} file |
3 " Maintainer: Nikolai Weibull <source@pcppopper.org> | 3 " Maintainer: Nikolai Weibull <nikolai+work.vim@bitwi.se> |
4 " URL: http://www.pcppopper.org/vim/indent/pcp/config/ | 4 " URL: http://www.pcppopper.org/vim/indent/pcp/config/ |
5 " Latest Revision: 2004-04-25 | 5 " Latest Revision: 2005-06-29 |
6 " arch-tag: 7779c341-796f-408e-80e4-a55c26b519a4 | 6 " TODO: how about nested [()]'s in one line |
7 " TODO: how about nested [()]'s in one line | 7 " what's wrong with '\\\@!'? |
8 " what's wrong with '\\\@!'? | |
9 | 8 |
10 " Only load this indent file when no other was loaded. | 9 " Only load this indent file when no other was loaded. |
11 if exists("b:did_indent") | 10 if exists("b:did_indent") |
12 finish | 11 finish |
13 endif | 12 endif |
14 | 13 |
15 source <sfile>:p:h/sh.vim " will set b:did_indent | 14 runtime! indent/sh.vim " will set b:did_indent |
16 | 15 |
17 setlocal indentexpr=GetConfigIndent() | 16 setlocal indentexpr=GetConfigIndent() |
18 setlocal indentkeys=!^F,o,O,=then,=do,=else,=elif,=esac,=fi,=fin,=fil,=done | 17 setlocal indentkeys=!^F,o,O,=then,=do,=else,=elif,=esac,=fi,=fin,=fil,=done |
19 | 18 |
20 " Only define the function once. | 19 " Only define the function once. |