lifelines.vim 638 B

12345678910111213141516171819202122232425
  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. " Only load this indent file when no other was loaded.
  7. if exists("b:did_indent")
  8. finish
  9. endif
  10. let b:did_indent = 1
  11. " LifeLines uses cindent without ; line terminator, C functions
  12. " declarations, C keywords, C++ formatting
  13. setlocal cindent
  14. setlocal cinwords=""
  15. setlocal cinoptions+=+0
  16. setlocal cinoptions+=p0
  17. setlocal cinoptions+=i0
  18. setlocal cinoptions+=t0
  19. setlocal cinoptions+=*500
  20. let b:undo_indent = "setl cin< cino< cinw<"
  21. " vim: ts=8 sw=4