Mercurial > hg > RemoteEditor > vim7
comparison runtime/syntax/xslt.vim @ 0:76efa0be13f1
Initial revision
author | atsuki |
---|---|
date | Sat, 10 Nov 2007 15:07:22 +0900 |
parents | |
children | e170173ecb68 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:76efa0be13f1 |
---|---|
1 " Vim syntax file | |
2 " Language: XSLT | |
3 " Maintainer: Johannes Zellner <johannes@zellner.org> | |
4 " Last Change: Sun, 28 Oct 2001 21:22:24 +0100 | |
5 " Filenames: *.xsl | |
6 " $Id$ | |
7 | |
8 " REFERENCES: | |
9 " [1] http://www.w3.org/TR/xslt | |
10 " | |
11 | |
12 " Quit when a syntax file was already loaded | |
13 if exists("b:current_syntax") | |
14 finish | |
15 endif | |
16 | |
17 runtime syntax/xml.vim | |
18 | |
19 syn cluster xmlTagHook add=xslElement | |
20 syn case match | |
21 | |
22 syn match xslElement '\%(xsl:\)\@<=apply-imports' | |
23 syn match xslElement '\%(xsl:\)\@<=apply-templates' | |
24 syn match xslElement '\%(xsl:\)\@<=attribute' | |
25 syn match xslElement '\%(xsl:\)\@<=attribute-set' | |
26 syn match xslElement '\%(xsl:\)\@<=call-template' | |
27 syn match xslElement '\%(xsl:\)\@<=choose' | |
28 syn match xslElement '\%(xsl:\)\@<=comment' | |
29 syn match xslElement '\%(xsl:\)\@<=copy' | |
30 syn match xslElement '\%(xsl:\)\@<=copy-of' | |
31 syn match xslElement '\%(xsl:\)\@<=decimal-format' | |
32 syn match xslElement '\%(xsl:\)\@<=document' | |
33 syn match xslElement '\%(xsl:\)\@<=element' | |
34 syn match xslElement '\%(xsl:\)\@<=fallback' | |
35 syn match xslElement '\%(xsl:\)\@<=for-each' | |
36 syn match xslElement '\%(xsl:\)\@<=if' | |
37 syn match xslElement '\%(xsl:\)\@<=include' | |
38 syn match xslElement '\%(xsl:\)\@<=import' | |
39 syn match xslElement '\%(xsl:\)\@<=key' | |
40 syn match xslElement '\%(xsl:\)\@<=message' | |
41 syn match xslElement '\%(xsl:\)\@<=namespace-alias' | |
42 syn match xslElement '\%(xsl:\)\@<=number' | |
43 syn match xslElement '\%(xsl:\)\@<=otherwise' | |
44 syn match xslElement '\%(xsl:\)\@<=output' | |
45 syn match xslElement '\%(xsl:\)\@<=param' | |
46 syn match xslElement '\%(xsl:\)\@<=processing-instruction' | |
47 syn match xslElement '\%(xsl:\)\@<=preserve-space' | |
48 syn match xslElement '\%(xsl:\)\@<=script' | |
49 syn match xslElement '\%(xsl:\)\@<=sort' | |
50 syn match xslElement '\%(xsl:\)\@<=strip-space' | |
51 syn match xslElement '\%(xsl:\)\@<=stylesheet' | |
52 syn match xslElement '\%(xsl:\)\@<=template' | |
53 syn match xslElement '\%(xsl:\)\@<=transform' | |
54 syn match xslElement '\%(xsl:\)\@<=text' | |
55 syn match xslElement '\%(xsl:\)\@<=value-of' | |
56 syn match xslElement '\%(xsl:\)\@<=variable' | |
57 syn match xslElement '\%(xsl:\)\@<=when' | |
58 syn match xslElement '\%(xsl:\)\@<=with-param' | |
59 | |
60 hi def link xslElement Statement | |
61 | |
62 " vim: ts=8 |