annotate runtime/indent/dtrace.vim @ 8544:b4850f705181 v7.4.1562

commit https://github.com/vim/vim/commit/9eb3bb2930f804c1d428ea4527e136ac9cd9da43 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 14 23:45:35 2016 +0100 patch 7.4.1562 Problem: ":helptags ALL" crashes. (Lcd) Solution: Don't free twice.
author Christian Brabandt <cb@256bit.org>
date Tue, 15 Mar 2016 00:00:05 +0100
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<"