annotate runtime/syntax/catalog.vim @ 25175:e977a05e221a

Added tag v8.2.3123 for changeset b32c8331749226e35387ef80958d95c0ec4b9ebc
author Bram Moolenaar <Bram@vim.org>
date Thu, 08 Jul 2021 16:45:04 +0200
parents 7bc41231fbc7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 " Vim syntax file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
2 " Language: sgml catalog file
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
3 " Maintainer: Johannes Zellner <johannes@zellner.org>
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
4 " Last Change: Fr, 04 Nov 2005 12:46:45 CET
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Filenames: /etc/sgml.catalog
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 557
diff changeset
6 " $Id: catalog.vim,v 1.2 2005/11/23 21:11:10 vimboss Exp $
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
8 " Quit when a syntax file was already loaded
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
9 if exists("b:current_syntax")
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
10 finish
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
11 endif
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
12
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
13 syn case ignore
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
14
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
15 " strings
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
16 syn region catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
17 syn region catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
18
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
19 syn region catalogComment start=+--+ end=+--+ contains=catalogTodo
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
20 syn keyword catalogTodo TODO FIXME XXX NOTE contained
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
21 syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
22
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
23
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
24 " The default highlighting.
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
25 hi def link catalogString String
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
26 hi def link catalogComment Comment
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
27 hi def link catalogTodo Todo
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
28 hi def link catalogKeyword Statement
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
29
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
30 let b:current_syntax = "catalog"