summaryrefslogtreecommitdiffstats
path: root/runtime/syntax
diff options
context:
space:
mode:
authorMohamed Akram <mohd.akram@outlook.com>2024-06-16 18:47:36 +0400
committerGitHub <noreply@github.com>2024-06-16 16:47:36 +0200
commit917ff8a19d2746dd922b7292dc61fb92e18b7ce2 (patch)
tree228af1d487f62e48e07f3dce3afa034eb8618d4e /runtime/syntax
parenta5af73ae347f9d562524fbcfea3eb5cfeecefa46 (diff)
runtime(html): bump length of character references in syntax script (#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>
Diffstat (limited to 'runtime/syntax')
-rw-r--r--runtime/syntax/html.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/syntax/html.vim b/runtime/syntax/html.vim
index c975ae8620..d067dde83c 100644
--- a/runtime/syntax/html.vim
+++ b/runtime/syntax/html.vim
@@ -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")