dtrace.vim 451 B

123456789101112131415161718
  1. " Vim indent file
  2. " Language: D script as described in "Solaris Dynamic Tracing Guide",
  3. " http://docs.sun.com/app/docs/doc/817-6223
  4. " Last Change: 2008/03/20
  5. " Version: 1.2
  6. " Maintainer: Nicolas Weber <nicolasweber@gmx.de>
  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. " Built-in C indenting works nicely for dtrace.
  13. setlocal cindent
  14. let b:undo_indent = "setl cin<"