2 " Language: sgml catalog file
3 " Maintainer: Johannes Zellner <johannes@zellner.org>
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 $
8 " Quit when a syntax file was already loaded
9 if exists("b:current_syntax")
16 syn region catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
17 syn region catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend
19 syn region catalogComment start=+--+ end=+--+ contains=catalogTodo
20 syn keyword catalogTodo TODO FIXME XXX NOTE contained
21 syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG
24 " The default highlighting.
25 hi def link catalogString String
26 hi def link catalogComment Comment
27 hi def link catalogTodo Todo
28 hi def link catalogKeyword Statement
30 let b:current_syntax = "catalog"