annotate runtime/syntax/catalog.vim @ 367:7a6160fd08f7

updated for version 7.0095
author vimboss
date Mon, 27 Jun 2005 22:29:54 +0000
parents 3fc0f57ecb91
children 862863033fdd
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>
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
4 " Last Change: Tue, 27 Apr 2004 14:54:59 CEST
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
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
20 syn keyword catalogTodo TODO FIXME XXX contained display
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
21 syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY display
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"