Mercurial > hg > RemoteEditor > vim7
comparison runtime/indent/gitconfig.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 | c16898406ff2 |
children |
comparison
equal
deleted
inserted
replaced
47:6c0584ec21b1 | 48:67300faee616 |
---|---|
1 " Vim indent file | 1 " Vim indent file |
2 " Language: git config file | 2 " Language: git config file |
3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> | 3 " Maintainer: Tim Pope <vimNOSPAM@tpope.org> |
4 " Last Change: 2010 May 21 | 4 " Last Change: 2012 April 7 |
5 | 5 |
6 if exists("b:did_indent") | 6 if exists("b:did_indent") |
7 finish | 7 finish |
8 endif | 8 endif |
9 let b:did_indent = 1 | 9 let b:did_indent = 1 |
10 | 10 |
11 setlocal autoindent | 11 setlocal autoindent |
12 setlocal indentexpr=GetGitconfigIndent() | 12 setlocal indentexpr=GetGitconfigIndent() |
13 setlocal indentkeys=o,O,*<Return>,0[,],0;,0#,=,!^F | 13 setlocal indentkeys=o,O,*<Return>,0[,],0;,0#,=,!^F |
14 | |
15 let b:undo_indent = 'setl ai< inde< indk<' | |
14 | 16 |
15 " Only define the function once. | 17 " Only define the function once. |
16 if exists("*GetGitconfigIndent") | 18 if exists("*GetGitconfigIndent") |
17 finish | 19 finish |
18 endif | 20 endif |