annotate runtime/syntax/xslt.vim @ 30839:942f1b3bc694 v9.0.0754

patch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation Commit: https://github.com/vim/vim/commit/a79b35b5781ae770334cec781d17fec3875f8108 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Oct 15 10:49:36 2022 +0100 patch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation Problem: 'indentexpr' overrules lisp indenting in one situation. Solution: Add "else" to keep the lisp indent. (issue https://github.com/vim/vim/issues/11327)
author Bram Moolenaar <Bram@vim.org>
date Sat, 15 Oct 2022 12:00:03 +0200
parents 63beef1ca62c
children
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 syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: XSLT
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
3 " Maintainer: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
4 " Previous Maintainer: Johannes Zellner <johannes@zellner.org>
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
5 " Last Change: Fri, 17 Jan 2020 07:15:37 +0200
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " Filenames: *.xsl
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 7
diff changeset
7 " $Id: xslt.vim,v 1.1 2004/06/13 15:52:10 vimboss Exp $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 " REFERENCES:
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 " [1] http://www.w3.org/TR/xslt
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
11 " [2] http://www.w3.org/TR/xslt20
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 " Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18 runtime syntax/xml.vim
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn cluster xmlTagHook add=xslElement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn case match
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
23 syn match xslElement '\%(xsl:\)\@<=analyze-string'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 syn match xslElement '\%(xsl:\)\@<=apply-imports'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 syn match xslElement '\%(xsl:\)\@<=apply-templates'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 syn match xslElement '\%(xsl:\)\@<=attribute'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 syn match xslElement '\%(xsl:\)\@<=attribute-set'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 syn match xslElement '\%(xsl:\)\@<=call-template'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
29 syn match xslElement '\%(xsl:\)\@<=character-map'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 syn match xslElement '\%(xsl:\)\@<=choose'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
31 syn match xslElement '\%(xsl:\)\@<=comment'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
32 syn match xslElement '\%(xsl:\)\@<=copy'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
33 syn match xslElement '\%(xsl:\)\@<=copy-of'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
34 syn match xslElement '\%(xsl:\)\@<=decimal-format'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
35 syn match xslElement '\%(xsl:\)\@<=document'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
36 syn match xslElement '\%(xsl:\)\@<=element'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
37 syn match xslElement '\%(xsl:\)\@<=fallback'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
38 syn match xslElement '\%(xsl:\)\@<=for-each'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
39 syn match xslElement '\%(xsl:\)\@<=for-each-group'
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
40 syn match xslElement '\%(xsl:\)\@<=function'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
41 syn match xslElement '\%(xsl:\)\@<=if'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
42 syn match xslElement '\%(xsl:\)\@<=include'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
43 syn match xslElement '\%(xsl:\)\@<=import'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
44 syn match xslElement '\%(xsl:\)\@<=import-schema'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
45 syn match xslElement '\%(xsl:\)\@<=key'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
46 syn match xslElement '\%(xsl:\)\@<=message'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
47 syn match xslElement '\%(xsl:\)\@<=namespace'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
48 syn match xslElement '\%(xsl:\)\@<=namespace-alias'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
49 syn match xslElement '\%(xsl:\)\@<=number'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
50 syn match xslElement '\%(xsl:\)\@<=otherwise'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
51 syn match xslElement '\%(xsl:\)\@<=output'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
52 syn match xslElement '\%(xsl:\)\@<=param'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
53 syn match xslElement '\%(xsl:\)\@<=perform-sort'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
54 syn match xslElement '\%(xsl:\)\@<=processing-instruction'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
55 syn match xslElement '\%(xsl:\)\@<=preserve-space'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
56 syn match xslElement '\%(xsl:\)\@<=script'
19163
63beef1ca62c Update runtime files.
Bram Moolenaar <Bram@vim.org>
parents: 2034
diff changeset
57 syn match xslElement '\%(xsl:\)\@<=sequence'
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
58 syn match xslElement '\%(xsl:\)\@<=sort'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
59 syn match xslElement '\%(xsl:\)\@<=strip-space'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
60 syn match xslElement '\%(xsl:\)\@<=stylesheet'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
61 syn match xslElement '\%(xsl:\)\@<=template'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
62 syn match xslElement '\%(xsl:\)\@<=transform'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
63 syn match xslElement '\%(xsl:\)\@<=text'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
64 syn match xslElement '\%(xsl:\)\@<=value-of'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
65 syn match xslElement '\%(xsl:\)\@<=variable'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
66 syn match xslElement '\%(xsl:\)\@<=when'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
67 syn match xslElement '\%(xsl:\)\@<=with-param'
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
68
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
69 hi def link xslElement Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
70
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
71 " vim: ts=8