From cc63193ce82c1e7b9ee2ad7d0ddd14e8394211ef Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Mon, 1 Mar 2021 13:44:50 +0100 Subject: Update --- syntax/html.vim | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) (limited to 'syntax/html.vim') diff --git a/syntax/html.vim b/syntax/html.vim index c823d362..2113f12a 100644 --- a/syntax/html.vim +++ b/syntax/html.vim @@ -4,11 +4,11 @@ endif " Vim syntax file " Language: HTML -" Maintainer: Jorge Maldonado Ventura +" Previous Maintainer: Jorge Maldonado Ventura " Previous Maintainer: Claudio Fleiner " Repository: https://notabug.org/jorgesumle/vim-html-syntax -" Last Change: 2020 Mar 17 -" Included patch from Florian Breisch to add the summary element +" Last Change: 2021 Feb 25 +" Included patch #7900 to fix comments " " Please check :help html.vim for some comments and a description of the options @@ -145,9 +145,21 @@ syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};" if exists("html_wrong_comments") syn region htmlComment start=+ and are parser errors; browser treats as comments + syn match htmlComment " closes comment + " Idem 8.2.4.52: closing comment by dash-dash-bang (--!>) is error ignored by parser(!); closes comment + syn region htmlCommentPart contained start=+--+ end=+--!\?>+me=e-1 contains=htmlCommentNested,@htmlPreProc,@Spell + " Idem 8.2.4.49: opening nested comment is all right + syn match htmlCommentNested contained ""me=e-3 + syn match htmlCommentNested contained "