blob: 2f8e388eb6e5f68469e21025e8ec881c70b40ca5 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001" Vim syntax file
2" Language: sgml catalog file
3" Maintainer: Johannes Zellner <johannes@zellner.org>
4" Last Change: Tue, 27 Apr 2004 14:54:59 CEST
5" Filenames: /etc/sgml.catalog
6" $Id$
7
8" Quit when a syntax file was already loaded
9if exists("b:current_syntax")
10 finish
11endif
12
13syn case ignore
14
15" strings
16syn region catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
17syn region catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend
18
19syn region catalogComment start=+--+ end=+--+ contains=catalogTodo
20syn keyword catalogTodo TODO FIXME XXX contained display
21syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY display
22
23
24" The default highlighting.
25hi def link catalogString String
26hi def link catalogComment Comment
27hi def link catalogTodo Todo
28hi def link catalogKeyword Statement
29
30let b:current_syntax = "catalog"