annotate runtime/indent/dtrace.vim @ 4768:82e6588762e4 v7.3.1131

updated for version 7.3.1131 Problem: New regexp engine is a bit slow. Solution: Do not clear the state list. Don't copy syntax submatches when not used.
author Bram Moolenaar <bram@vim.org>
date Thu, 06 Jun 2013 16:22:06 +0200
parents 82b5078be2dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1621
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
1 " Vim indent file
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
2 " Language: D script as described in "Solaris Dynamic Tracing Guide",
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
3 " http://docs.sun.com/app/docs/doc/817-6223
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
4 " Last Change: 2008/03/20
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
5 " Version: 1.2
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
6 " Maintainer: Nicolas Weber <nicolasweber@gmx.de>
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
7
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
8 " Only load this indent file when no other was loaded.
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
9 if exists("b:did_indent")
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
10 finish
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
11 endif
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
12 let b:did_indent = 1
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
13
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
14 " Built-in C indenting works nicely for dtrace.
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
15 setlocal cindent
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
16
82b5078be2dd updated for version 7.2a
vimboss
parents:
diff changeset
17 let b:undo_indent = "setl cin<"