annotate runtime/indent/dtrace.vim @ 29544:80b4c435450a v9.0.0113

patch 9.0.0113: has() is not strict about parsing the patch version Commit: https://github.com/vim/vim/commit/d90f91fe3075bb51668ed926182b2163da9df001 Author: K.Takata <kentkt@csc.jp> Date: Sat Jul 30 15:43:59 2022 +0100 patch 9.0.0113: has() is not strict about parsing the patch version Problem: has() is not strict about parsing the patch version. Solution: Check the version more strictly. (Ken Takata, closes https://github.com/vim/vim/issues/10752)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Jul 2022 16:45:05 +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<"