annotate runtime/syntax/rng.vim @ 18761:e3785af3ba0f v8.1.2370

patch 8.1.2370: build problems on VMS Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 22:38:16 2019 +0100 patch 8.1.2370: build problems on VMS Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 22:45:04 +0100
parents 2d1383658bb4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4264
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim syntax file
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: RELAX NG
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Maintainer: Jaromir Hradilek <jhradilek@gmail.com>
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " URL: https://github.com/jhradilek/vim-rng
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 " Last Change: 25 March 2013
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 " Description: A syntax file for RELAX NG, a schema language for XML
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 if exists('b:current_syntax')
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 finish
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 endif
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 do Syntax xml
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13 syn spell toplevel
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 syn cluster xmlTagHook add=rngTagName
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 syn case match
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 syn keyword rngTagName anyName attribute choice data define div contained
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 syn keyword rngTagName element empty except externalRef grammar contained
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19 syn keyword rngTagName group include interleave list mixed name contained
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 syn keyword rngTagName notAllowed nsName oneOrMore optional param contained
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 syn keyword rngTagName parentRef ref start text value zeroOrMore contained
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 hi def link rngTagName Statement
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25 let b:current_syntax = 'rng'