comparison runtime/syntax/sgml.vim @ 25773:11b656e74444

Update runtime files Commit: https://github.com/vim/vim/commit/6c391a74fe90190796ca0b0c010112948a6e75d7 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Sep 9 21:55:11 2021 +0200 Update runtime files
author Bram Moolenaar <Bram@vim.org>
date Thu, 09 Sep 2021 22:00:10 +0200
parents 43efa4f5a8ea
children d46f974fd69e
comparison
equal deleted inserted replaced
25772:55753c17b73d 25773:11b656e74444
172 172
173 173
174 " SGML specific 174 " SGML specific
175 " abbreviated regions 175 " abbreviated regions
176 " 176 "
177 " No highlighing, highlighing is done by contained elements. 177 " No highlighting, highlighting is done by contained elements.
178 " 178 "
179 " PROVIDES: @sgmlRegionHook 179 " PROVIDES: @sgmlRegionHook
180 " 180 "
181 " EXAMPLE: 181 " EXAMPLE:
182 " 182 "
190 190
191 191
192 " real (non-empty) elements. We cannot do syntax folding 192 " real (non-empty) elements. We cannot do syntax folding
193 " as in xml, because end tags may be optional in sgml depending 193 " as in xml, because end tags may be optional in sgml depending
194 " on the dtd. 194 " on the dtd.
195 " No highlighing, highlighing is done by contained elements. 195 " No highlighting, highlighting is done by contained elements.
196 " 196 "
197 " PROVIDES: @sgmlRegionHook 197 " PROVIDES: @sgmlRegionHook
198 " 198 "
199 " EXAMPLE: 199 " EXAMPLE:
200 " 200 "
223 " 223 "
224 " EXAMPLE: 224 " EXAMPLE:
225 " 225 "
226 " <tag id="lola"/> 226 " <tag id="lola"/>
227 " 227 "
228 " TODO use sgmlEmptyTag intead of sgmlTag 228 " TODO use sgmlEmptyTag instead of sgmlTag
229 syn match sgmlEmptyRegion 229 syn match sgmlEmptyRegion
230 \ +<[^ /!?>"']\(\_[^"'<>]\|"\_[^"]*"\|'\_[^']*'\)*/>+ 230 \ +<[^ /!?>"']\(\_[^"'<>]\|"\_[^"]*"\|'\_[^']*'\)*/>+
231 \ contains=sgmlEmptyTag 231 \ contains=sgmlEmptyTag
232 232
233 233