comparison runtime/syntax/catalog.vim @ 0:76efa0be13f1

Initial revision
author atsuki
date Sat, 10 Nov 2007 15:07:22 +0900
parents
children e170173ecb68
comparison
equal deleted inserted replaced
-1:000000000000 0:76efa0be13f1
1 " Vim syntax file
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$
7
8 " Quit when a syntax file was already loaded
9 if exists("b:current_syntax")
10 finish
11 endif
12
13 syn case ignore
14
15 " strings
16 syn region catalogString start=+"+ skip=+\\\\\|\\"+ end=+"+ keepend
17 syn region catalogString start=+'+ skip=+\\\\\|\\'+ end=+'+ keepend
18
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
22
23
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
29
30 let b:current_syntax = "catalog"