annotate runtime/syntax/catalog.vim @ 882:6b89fd4ffcc6 v7.0.008

updated for version 7.0-008
author vimboss
date Sat, 13 May 2006 11:33:27 +0000
parents 862863033fdd
children 7bc41231fbc7
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
6 " $Id$
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"