annotate runtime/indent/dtrace.vim @ 17425:6580e2dfcaeb v8.1.1711

patch 8.1.1711: listener callback called at the wrong moment commit https://github.com/vim/vim/commit/acf7544cf62227972eeb063d6d9ecddaa5682a73 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jul 17 22:55:35 2019 +0200 patch 8.1.1711: listener callback called at the wrong moment Problem: Listener callback called at the wrong moment Solution: Invoke listeners before calling ml_delete_int(). (closes https://github.com/vim/vim/issues/4657)
author Bram Moolenaar <Bram@vim.org>
date Wed, 17 Jul 2019 23:00: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<"