Mercurial > vim
comparison runtime/syntax/dtd.vim @ 26708:f0d7cb510ce3
Update runtime files
Commit: https://github.com/vim/vim/commit/fa3b72348d88343390fbe212cfc230fec1602fc2
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Dec 24 13:18:38 2021 +0000
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Dec 2021 14:30:04 +0100 |
parents | 6d11fc4aa683 |
children |
comparison
equal
deleted
inserted
replaced
26707:d1af15dbf206 | 26708:f0d7cb510ce3 |
---|---|
43 " it can be switched off by setting the variable | 43 " it can be switched off by setting the variable |
44 " dtd_no_tag_errors. | 44 " dtd_no_tag_errors. |
45 syn region dtdError contained start=+<!+lc=2 end=+>+ | 45 syn region dtdError contained start=+<!+lc=2 end=+>+ |
46 endif | 46 endif |
47 | 47 |
48 " if this is a html like comment hightlight also | 48 " if this is a html like comment highlight also |
49 " the opening <! and the closing > as Comment. | 49 " the opening <! and the closing > as Comment. |
50 syn region dtdComment start=+<![ \t]*--+ end=+-->+ contains=dtdTodo,@Spell | 50 syn region dtdComment start=+<![ \t]*--+ end=+-->+ contains=dtdTodo,@Spell |
51 | 51 |
52 | 52 |
53 " proper DTD comment | 53 " proper DTD comment |
97 " &entities; compare with xml | 97 " &entities; compare with xml |
98 syn match dtdEntity "&[^; \t]*;" contains=dtdEntityPunct | 98 syn match dtdEntity "&[^; \t]*;" contains=dtdEntityPunct |
99 syn match dtdEntityPunct contained "[&.;]" | 99 syn match dtdEntityPunct contained "[&.;]" |
100 | 100 |
101 " Strings are between quotes | 101 " Strings are between quotes |
102 syn region dtdString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=dtdAttrDef,dtdAttrType,dtdEnum,dtdParamEntityInst,dtdEntity,dtdCard | 102 syn region dtdString start=+"+ skip=+\\\\\|\\"+ end=+"+ contains=dtdAttrDef,dtdAttrType,dtdParamEntityInst,dtdEntity,dtdCard |
103 syn region dtdString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=dtdAttrDef,dtdAttrType,dtdEnum,dtdParamEntityInst,dtdEntity,dtdCard | 103 syn region dtdString start=+'+ skip=+\\\\\|\\'+ end=+'+ contains=dtdAttrDef,dtdAttrType,dtdParamEntityInst,dtdEntity,dtdCard |
104 | 104 |
105 " Enumeration of elements or data between parenthesis | 105 " Enumeration of elements or data between parenthesis |
106 " | 106 " |
107 " PROVIDES: @dtdEnumHook | 107 " PROVIDES: @dtdEnumHook |
108 " | 108 " |