neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

lifelines.vim (638B)


      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
     14 " declarations, C keywords, C++ formatting
     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