]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime(html): bump length of character references in syntax script (#15022)
authorMohamed Akram <mohd.akram@outlook.com>
Sun, 16 Jun 2024 14:47:36 +0000 (18:47 +0400)
committerGitHub <noreply@github.com>
Sun, 16 Jun 2024 14:47:36 +0000 (16:47 +0200)
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>
runtime/syntax/html.vim

index c975ae8620034d3eefc21b3b75fe0611a0986cc3..d067dde83c051b5ab192a1896f9b504012daaf36 100644 (file)
@@ -191,7 +191,7 @@ syn keyword htmlArg contained step title translate typemustmatch
 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")