From 6a8436065ca7282569fd4d96b1c02a8ba8eaacf1 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 2 May 2021 10:19:25 -0400 Subject: vim-patch:9faec4e3d439 Update runtime files. https://github.com/vim/vim/commit/9faec4e3d439968e21ad74e917aebb289df8f849 Omit vim9. --- runtime/syntax/html.vim | 25 +++++++--- runtime/syntax/lhaskell.vim | 23 ++++++--- runtime/syntax/python.vim | 112 ++++++++++++++++++-------------------------- 3 files changed, 82 insertions(+), 78 deletions(-) (limited to 'runtime/syntax') diff --git a/runtime/syntax/html.vim b/runtime/syntax/html.vim index aa9cb1205a..36d3c25f3a 100644 --- a/runtime/syntax/html.vim +++ b/runtime/syntax/html.vim @@ -1,10 +1,10 @@ " 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 @@ -141,9 +141,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 "