Bram Moolenaar | 06b5d51 | 2010-05-22 15:37:44 +0200 | [diff] [blame] | 1 | " Vim indent file |
| 2 | " Language: LifeLines |
| 3 | " Maintainer: Patrick Texier <p.texier@orsennes.com> |
| 4 | " Location: <http://patrick.texier.free.fr/vim/indent/lifelines.vim> |
| 5 | " Last Change: 2010 May 7 |
| 6 | |
| 7 | " Only load this indent file when no other was loaded. |
| 8 | if exists("b:did_indent") |
| 9 | finish |
| 10 | endif |
| 11 | let b:did_indent = 1 |
| 12 | |
| 13 | " LifeLines uses cindent without ; line terminator, C functions |
Bram Moolenaar | 6c391a7 | 2021-09-09 21:55:11 +0200 | [diff] [blame] | 14 | " declarations, C keywords, C++ formatting |
Bram Moolenaar | 06b5d51 | 2010-05-22 15:37:44 +0200 | [diff] [blame] | 15 | setlocal cindent |
| 16 | setlocal cinwords="" |
| 17 | setlocal cinoptions+=+0 |
| 18 | setlocal cinoptions+=p0 |
| 19 | setlocal cinoptions+=i0 |
| 20 | setlocal cinoptions+=t0 |
| 21 | setlocal cinoptions+=*500 |
| 22 | |
| 23 | let b:undo_indent = "setl cin< cino< cinw<" |
| 24 | " vim: ts=8 sw=4 |