annotate runtime/indent/dtrace.vim @ 10960:d7b78cbf85e4 v8.0.0369

patch 8.0.0369: a few options are not defined, depending on features commit https://github.com/vim/vim/commit/c43a8b8de0676caf8a460b6af1310d7aba8221bb Author: Bram Moolenaar <Bram@vim.org> Date: Sat Feb 25 21:12:29 2017 +0100 patch 8.0.0369: a few options are not defined, depending on features Problem: The 'balloondelay', 'ballooneval' and 'balloonexpr' options are not defined without the +balloon_eval feature. Testing that an option value fails does not work for unsupported options. Solution: Make the options defined but not supported. Don't test if setting unsupported options fails.
author Christian Brabandt <cb@256bit.org>
date Sat, 25 Feb 2017 21:15:03 +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<"