annotate runtime/syntax/catalog.vim @ 7218:36dc8df8560f v7.4.918

commit https://github.com/vim/vim/commit/0796c0625fa4b9eb2f47fe8c976b78523924e1fb Author: Bram Moolenaar <Bram@vim.org> Date: Tue Nov 10 19:41:37 2015 +0100 patch 7.4.918 Problem: A digit in an option name has problems. Solution: Rename 'python3dll' to 'pythonthreedll'.
author Christian Brabandt <cb@256bit.org>
date Tue, 10 Nov 2015 19:45:04 +0100
parents 7bc41231fbc7
children
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>
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
4 " Last Change: Fr, 04 Nov 2005 12:46:45 CET
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
5 " Filenames: /etc/sgml.catalog
2034
7bc41231fbc7 Update runtime files.
Bram Moolenaar <bram@zimbu.org>
parents: 557
diff changeset
6 " $Id: catalog.vim,v 1.2 2005/11/23 21:11:10 vimboss Exp $
7
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
557
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
20 syn keyword catalogTodo TODO FIXME XXX NOTE contained
862863033fdd updated for version 7.0158
vimboss
parents: 7
diff changeset
21 syn keyword catalogKeyword DOCTYPE OVERRIDE PUBLIC DTDDECL ENTITY CATALOG
7
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"