blob: e6d61617dc95668648b78c3e29c8eb635490592c [file] [log] [blame]
Bram Moolenaar06b5d512010-05-22 15:37:44 +02001" 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.
8if exists("b:did_indent")
9 finish
10endif
11let b:did_indent = 1
12
13" LifeLines uses cindent without ; line terminator, C functions
Bram Moolenaar6c391a72021-09-09 21:55:11 +020014" declarations, C keywords, C++ formatting
Bram Moolenaar06b5d512010-05-22 15:37:44 +020015setlocal cindent
16setlocal cinwords=""
17setlocal cinoptions+=+0
18setlocal cinoptions+=p0
19setlocal cinoptions+=i0
20setlocal cinoptions+=t0
21setlocal cinoptions+=*500
22
23let b:undo_indent = "setl cin< cino< cinw<"
24" vim: ts=8 sw=4