annotate runtime/syntax/rng.vim @ 20559:533bbd1917be v8.2.0833

patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI Commit: https://github.com/vim/vim/commit/ca5bc746073b6fd4b7651bc02f7a18b1b43bd4ca Author: Bram Moolenaar <Bram@vim.org> Date: Wed May 27 22:08:34 2020 +0200 patch 8.2.0833: mapping <C-bslash> doesn't work in the GUI Problem: Mapping <C-bslash> doesn't work in the GUI. Solution: Reset seenModifyOtherKeys when starting the GUI. (closes https://github.com/vim/vim/issues/6150)
author Bram Moolenaar <Bram@vim.org>
date Wed, 27 May 2020 22:15:04 +0200
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'