7
|
1 " Vim syntax file
|
|
2 " Language: XSLT
|
19163
|
3 " Maintainer: Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
|
|
4 " Previous Maintainer: Johannes Zellner <johannes@zellner.org>
|
|
5 " Last Change: Fri, 17 Jan 2020 07:15:37 +0200
|
7
|
6 " Filenames: *.xsl
|
2034
|
7 " $Id: xslt.vim,v 1.1 2004/06/13 15:52:10 vimboss Exp $
|
7
|
8
|
|
9 " REFERENCES:
|
|
10 " [1] http://www.w3.org/TR/xslt
|
19163
|
11 " [2] http://www.w3.org/TR/xslt20
|
7
|
12
|
|
13 " Quit when a syntax file was already loaded
|
|
14 if exists("b:current_syntax")
|
|
15 finish
|
|
16 endif
|
|
17
|
|
18 runtime syntax/xml.vim
|
|
19
|
|
20 syn cluster xmlTagHook add=xslElement
|
|
21 syn case match
|
|
22
|
19163
|
23 syn match xslElement '\%(xsl:\)\@<=analyze-string'
|
7
|
24 syn match xslElement '\%(xsl:\)\@<=apply-imports'
|
|
25 syn match xslElement '\%(xsl:\)\@<=apply-templates'
|
|
26 syn match xslElement '\%(xsl:\)\@<=attribute'
|
|
27 syn match xslElement '\%(xsl:\)\@<=attribute-set'
|
|
28 syn match xslElement '\%(xsl:\)\@<=call-template'
|
19163
|
29 syn match xslElement '\%(xsl:\)\@<=character-map'
|
7
|
30 syn match xslElement '\%(xsl:\)\@<=choose'
|
|
31 syn match xslElement '\%(xsl:\)\@<=comment'
|
|
32 syn match xslElement '\%(xsl:\)\@<=copy'
|
|
33 syn match xslElement '\%(xsl:\)\@<=copy-of'
|
|
34 syn match xslElement '\%(xsl:\)\@<=decimal-format'
|
|
35 syn match xslElement '\%(xsl:\)\@<=document'
|
|
36 syn match xslElement '\%(xsl:\)\@<=element'
|
|
37 syn match xslElement '\%(xsl:\)\@<=fallback'
|
|
38 syn match xslElement '\%(xsl:\)\@<=for-each'
|
19163
|
39 syn match xslElement '\%(xsl:\)\@<=for-each-group'
|
|
40 syn match xslElement '\%(xsl:\)\@<=function'
|
7
|
41 syn match xslElement '\%(xsl:\)\@<=if'
|
|
42 syn match xslElement '\%(xsl:\)\@<=include'
|
|
43 syn match xslElement '\%(xsl:\)\@<=import'
|
19163
|
44 syn match xslElement '\%(xsl:\)\@<=import-schema'
|
7
|
45 syn match xslElement '\%(xsl:\)\@<=key'
|
|
46 syn match xslElement '\%(xsl:\)\@<=message'
|
19163
|
47 syn match xslElement '\%(xsl:\)\@<=namespace'
|
7
|
48 syn match xslElement '\%(xsl:\)\@<=namespace-alias'
|
|
49 syn match xslElement '\%(xsl:\)\@<=number'
|
|
50 syn match xslElement '\%(xsl:\)\@<=otherwise'
|
|
51 syn match xslElement '\%(xsl:\)\@<=output'
|
|
52 syn match xslElement '\%(xsl:\)\@<=param'
|
19163
|
53 syn match xslElement '\%(xsl:\)\@<=perform-sort'
|
7
|
54 syn match xslElement '\%(xsl:\)\@<=processing-instruction'
|
|
55 syn match xslElement '\%(xsl:\)\@<=preserve-space'
|
|
56 syn match xslElement '\%(xsl:\)\@<=script'
|
19163
|
57 syn match xslElement '\%(xsl:\)\@<=sequence'
|
7
|
58 syn match xslElement '\%(xsl:\)\@<=sort'
|
|
59 syn match xslElement '\%(xsl:\)\@<=strip-space'
|
|
60 syn match xslElement '\%(xsl:\)\@<=stylesheet'
|
|
61 syn match xslElement '\%(xsl:\)\@<=template'
|
|
62 syn match xslElement '\%(xsl:\)\@<=transform'
|
|
63 syn match xslElement '\%(xsl:\)\@<=text'
|
|
64 syn match xslElement '\%(xsl:\)\@<=value-of'
|
|
65 syn match xslElement '\%(xsl:\)\@<=variable'
|
|
66 syn match xslElement '\%(xsl:\)\@<=when'
|
|
67 syn match xslElement '\%(xsl:\)\@<=with-param'
|
|
68
|
|
69 hi def link xslElement Statement
|
|
70
|
|
71 " vim: ts=8
|