annotate runtime/syntax/rng.vim @ 23810:8152b7daebad v8.2.2446

patch 8.2.2446: setting 'term' empty has different error if compiled with GUI Commit: https://github.com/vim/vim/commit/5daa91162699e4f8b54f9d1caaaab2715038941c Author: Bram Moolenaar <Bram@vim.org> Date: Mon Feb 1 18:39:47 2021 +0100 patch 8.2.2446: setting 'term' empty has different error if compiled with GUI Problem: Setting 'term' empty has different error if compiled with GUI. Solution: Insert "else". (closes https://github.com/vim/vim/issues/7766)
author Bram Moolenaar <Bram@vim.org>
date Mon, 01 Feb 2021 18:45:06 +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'