xref: /vim-8.2.3635/runtime/syntax/catalog.vim (revision 5c73622a)
1" Vim syntax file
2" Language:	sgml catalog file
3" Maintainer:	Johannes Zellner <[email protected]>
4" Last Change:	Fr, 04 Nov 2005 12:46:45 CET
5" Filenames:	/etc/sgml.catalog
6" $Id: catalog.vim,v 1.2 2005/11/23 21:11:10 vimboss Exp $
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 NOTE contained
21syn keyword catalogKeyword	DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG
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"
31