diff runtime/syntax/xslt.vim @ 19163:63beef1ca62c

Update runtime files. Commit: https://github.com/vim/vim/commit/ade0d39468014fd55d30f7647a1ac104baff4bc5 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Jan 21 22:33:58 2020 +0100 Update runtime files.
author Bram Moolenaar <Bram@vim.org>
date Tue, 21 Jan 2020 22:45:04 +0100
parents 7bc41231fbc7
children
line wrap: on
line diff
--- a/runtime/syntax/xslt.vim
+++ b/runtime/syntax/xslt.vim
@@ -1,13 +1,14 @@
 " Vim syntax file
 " Language:	XSLT
-" Maintainer:	Johannes Zellner <johannes@zellner.org>
-" Last Change:	Sun, 28 Oct 2001 21:22:24 +0100
+" Maintainer:   Bogdan Barbu <l4b.bogdan.barbu@gmail.com>
+" Previous Maintainer:	Johannes Zellner <johannes@zellner.org>
+" Last Change:	Fri, 17 Jan 2020 07:15:37 +0200
 " Filenames:	*.xsl
 " $Id: xslt.vim,v 1.1 2004/06/13 15:52:10 vimboss Exp $
 
 " REFERENCES:
 "   [1] http://www.w3.org/TR/xslt
-"
+"   [2] http://www.w3.org/TR/xslt20
 
 " Quit when a syntax file was already loaded
 if exists("b:current_syntax")
@@ -19,11 +20,13 @@ runtime syntax/xml.vim
 syn cluster xmlTagHook add=xslElement
 syn case match
 
+syn match xslElement '\%(xsl:\)\@<=analyze-string'
 syn match xslElement '\%(xsl:\)\@<=apply-imports'
 syn match xslElement '\%(xsl:\)\@<=apply-templates'
 syn match xslElement '\%(xsl:\)\@<=attribute'
 syn match xslElement '\%(xsl:\)\@<=attribute-set'
 syn match xslElement '\%(xsl:\)\@<=call-template'
+syn match xslElement '\%(xsl:\)\@<=character-map'
 syn match xslElement '\%(xsl:\)\@<=choose'
 syn match xslElement '\%(xsl:\)\@<=comment'
 syn match xslElement '\%(xsl:\)\@<=copy'
@@ -33,19 +36,25 @@ syn match xslElement '\%(xsl:\)\@<=docum
 syn match xslElement '\%(xsl:\)\@<=element'
 syn match xslElement '\%(xsl:\)\@<=fallback'
 syn match xslElement '\%(xsl:\)\@<=for-each'
+syn match xslElement '\%(xsl:\)\@<=for-each-group'
+syn match xslElement '\%(xsl:\)\@<=function'
 syn match xslElement '\%(xsl:\)\@<=if'
 syn match xslElement '\%(xsl:\)\@<=include'
 syn match xslElement '\%(xsl:\)\@<=import'
+syn match xslElement '\%(xsl:\)\@<=import-schema'
 syn match xslElement '\%(xsl:\)\@<=key'
 syn match xslElement '\%(xsl:\)\@<=message'
+syn match xslElement '\%(xsl:\)\@<=namespace'
 syn match xslElement '\%(xsl:\)\@<=namespace-alias'
 syn match xslElement '\%(xsl:\)\@<=number'
 syn match xslElement '\%(xsl:\)\@<=otherwise'
 syn match xslElement '\%(xsl:\)\@<=output'
 syn match xslElement '\%(xsl:\)\@<=param'
+syn match xslElement '\%(xsl:\)\@<=perform-sort'
 syn match xslElement '\%(xsl:\)\@<=processing-instruction'
 syn match xslElement '\%(xsl:\)\@<=preserve-space'
 syn match xslElement '\%(xsl:\)\@<=script'
+syn match xslElement '\%(xsl:\)\@<=sequence'
 syn match xslElement '\%(xsl:\)\@<=sort'
 syn match xslElement '\%(xsl:\)\@<=strip-space'
 syn match xslElement '\%(xsl:\)\@<=stylesheet'