annotate runtime/indent/docbk.vim @ 8740:a35b596cd7ac v7.4.1659

commit https://github.com/vim/vim/commit/e1581307d281ceb35726e1b4ca30ef773a2ef23e Author: Bram Moolenaar <Bram@vim.org> Date: Sat Mar 26 21:04:48 2016 +0100 patch 7.4.1659 Problem: Compiler warning for argument type. (Manuel Ortega) Solution: Remove "&".
author Christian Brabandt <cb@256bit.org>
date Sat, 26 Mar 2016 21:15:06 +0100
parents 8cd729851562
children 1218c5353e2b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim indent file
856
8cd729851562 updated for version 7.0g
vimboss
parents: 839
diff changeset
2 " Language: DocBook Documentation Format
839
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 375
diff changeset
3 " Maintainer: Nikolai Weibull <now@bitwi.se>
1f3b1021f002 updated for version 7.0e05
vimboss
parents: 375
diff changeset
4 " Latest Revision: 2006-04-19
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5
353
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
6 if exists("b:did_indent")
375
f14cbd913415 updated for version 7.0097
vimboss
parents: 353
diff changeset
7 finish
353
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
8 endif
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
9
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " Same as XML indenting for now.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 runtime! indent/xml.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
353
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
13 if exists('*XmlIndentGet')
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
14 setlocal indentexpr=XmlIndentGet(v:lnum,0)
3161473d6462 updated for version 7.0091
vimboss
parents: 7
diff changeset
15 endif