changeset 35439:ba08564a0539

runtime(html): bump length of character references in syntax script (#15022) Commit: https://github.com/vim/vim/commit/917ff8a19d2746dd922b7292dc61fb92e18b7ce2 Author: Mohamed Akram <mohd.akram@outlook.com> Date: Sun Jun 16 18:47:36 2024 +0400 runtime(html): bump length of character references in syntax script (https://github.com/vim/vim/issues/15022) This allows handling longer references such as `&CounterClockwiseContourIntegral;`. Signed-off-by: Mohamed Akram <mohd.akram@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Jun 2024 17:00:08 +0200
parents d7d80c615656
children e3162e73cc10
files runtime/syntax/html.vim
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/syntax/html.vim
+++ b/runtime/syntax/html.vim
@@ -191,7 +191,7 @@ syn keyword htmlArg contained step title
 syn match   htmlArg contained "\<data-\h\%(\w\|[-.]\)*\%(\_s*=\)\@="
 
 " special characters
-syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,8};"
+syn match htmlSpecialChar "&#\=[0-9A-Za-z]\{1,32};"
 
 " Comments (the real ones or the old netscape ones)
 if exists("html_wrong_comments")